Monday 5 March 2012

How To Work With GIT Hub

cat ~/.gitconfig
git clone git@github.com:bestbuymobileapps/bby-core-iphone-app.git
git fetch
git branch -all
git branch -r
git branch
git status
git pull origin BRANCH_NAME
git add .
git commit -m"message"
git push origin BRANCH_NAME
git log -7 --oneline
git checkout BRANCH_NAME
git log
ls
git branch -d dev-webcommerce
git merge -m"Merge Message" dev-webcommerce
git diff .
git branch BRANCH_NAME
git checkout -- Folder/Commit ID
git config --global push.default current
git reset --hardclear
git reset --hard
git rm filename
git log --oneline
pwd
clear
gitk
git stash
git revert commitID

No comments:

Post a Comment