Git
从 Githug 里学到的技巧
趁等联调的间隙刷了刷 Githug,学到了几招。 第19关 git commit --amend 追加提交,并修改 commit message。 第21关 使用 reset 将文件移出 staging area git reset HEAD to_commit_second.rd 第22关 放弃最近一次提交,同时保留改动到 staging area git reset --soft HEAD^1 第24关 查看 remote 地址 git remote -v 第27关 添加远程 repo ???这个操作的作用是? git remote add origin https: