git常用操作 新代码,标准提交步骤 git add .git commitgit push origin HEAD:refs/for/分支名字 基于上一个commit msg进行提交 git commit --amend本地分支,拉取remote分支的代码 1. git branch --set-upstream-to=origin/远程分支名 本地分支名 2. git pull --rebase强制删除本地分支 git branch -D 本地分支名创建本地分支 git checkout -b 分支名尽情期待