Git: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
==commit changes== | ==commit changes== | ||
git commit -a -m "updated ..." | git commit -a -m "updated ..." | ||
==push changes upsteam== | |||
git push | |||
==list branches== | ==list branches== |
Revision as of 20:51, 19 October 2015
git
Download a git repository
git clone git@www.halfface.se:project.git
which changes has occured
git status
commit changes
git commit -a -m "updated ..."
push changes upsteam
git push
list branches
git branch -a git branch -r
Change branch
git checkout remotes/origin/code-18500
Change branch
git branch master