adsense from aus

Sunday, May 23, 2010

Git Usage

Git Usage

1. How do you update your local branch from local master?
git checkout master
git pull
git checkout branch_name
git rebase master


2. How do you create server branch?

git checkout -b branch_name
git push origin branch_name:refs/heads/branch_name


3. How do you update server branch?

git checkout branch_name
git merge master
git push origin branch_name

No comments: