GIT - basic commands and examples



git clone git@xxxxx www.git

git remote add bitbucket git@bitbucket.org:xxxxx.git

git remote -v
bitbucket       git@bitbucket.org:xxxxx.git (fetch)
bitbucket       git@bitbucket.org:xxxxx.git (push)
origin  git@xxxxx (fetch)
origin  git@xxxxx (push)

git fetch orgin

git push origin master

git push bitbucket

git rebase origin master

git merge origin/master --ff-only

git commit -a -m "message"

git log -4

qgit
Last update:
2014-07-17 12:10
Author:
Daniel
Revision:
1.6
Average rating:0 (0 Votes)

You can comment this FAQ

Chuck Norris has counted to infinity. Twice.