Git

From Halfface
Jump to navigation Jump to search

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 ..."

list branches

git branch -a
git branch -r

Change branch

git checkout remotes/origin/code-18500

Change branch

git branch master