- cd to your working directory
- git log : see what commit has been made
- git branch [branch_name] : create a new branch
- git branch : list out all the branches (* shows you what branch you’re on)
- git checkout [branch_name] : switch branch
- git add .
- git commit -m “[message]”
- git log
- git merge [branch_name]
- git push origin [branch_name] -u
No comments:
Post a Comment