Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 413 Bytes

File metadata and controls

14 lines (12 loc) · 413 Bytes

Merging branches

  1. git pull
  2. git merge
  3. git push

Push changes to the system

  1. git add .
  2. git commit -am 'some message'
  3. git push

Checkout branches

  1. git checkout -b mynewbranch // only used when creating new branch for first time. -b used to create new branch
  2. git checkout master // when you want to change branches
  3. git push --set-upstream origin mynewbranch // to push your branch