Git: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 8: Line 8:
==push changes upsteam==
==push changes upsteam==
  git push
  git push
git push origin master


==list branches==
==list branches==

Revision as of 21:09, 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
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