git pull origin master
git push origin branch-name
git checkout master
git merge new
git checkout -b <branch-name> // create a branch and switch to the branch
git branch <branch-name> // create a branch only
https://git-scm.com/docs/git-branch
git status
git diff
git diff --stat
git add . // add all files in working directory
git commit -m "Your awesome message"
git push origin master
git checkout master
git rebase release // To base master on release
“Take my commits on master, temporarily remove them, fast-forward master to release, then replay my commits on top.”
No comments:
Post a Comment