Git: Difference between revisions
Jump to navigation
Jump to search
(→git) |
|||
Line 17: | Line 17: | ||
==Change branch== | ==Change branch== | ||
git branch master | git branch master | ||
==git pull== | |||
sync up against git head | |||
git pull |
Revision as of 13:04, 30 May 2016
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 git push origin master
list branches
git branch -a git branch -r
Change branch
git checkout remotes/origin/code-18500
Change branch
git branch master
git pull
sync up against git head
git pull