帮助 git 命令 --help git原理 索引工作区暂存区远程库 ls-tree 已经跟踪的文件 remote git remote --help #获取remote 帮助信息 git remote -v #显示上游跟踪分支 git remote set-url <name> [url] #设置远程分支 log 更改历史 commit 提价哦 –amend 将本次与上次提交合并 commit git commit -a branch merge checkout