Pro Git 2nd Edition 2.1.413you’re amending your last commit, you’re not so much fixing it as replacing it entirely with a new, improved commit that pushes the old commit out of the way and puts the new commit in its place. Effectively stage those changes, and the subsequent git commit --amend replaces that last commit with your new, improved commit. You need to be careful with this technique because amending changes the SHA-1 of the0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413you’re amending your last commit, you’re not so much fixing it as replacing it entirely with a new, improved commit that pushes the old commit out of the way and puts the new commit in its place. Effectively stage those changes, and the subsequent git commit --amend replaces that last commit with your new, improved commit. You need to be careful with this technique because amending changes the SHA-1 of the commit0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 you’re amending your last commit, you’re not so much fixing it as replacing it entirely with a new, improved commit that pushes the old commit out of the way and puts the new commit in its place. Effectively stage those changes, and the subsequent git commit --amend replaces that last commit with your new, improved commit. You need to be careful with this technique because amending changes the SHA-1 of the0 码力 | 691 页 | 13.35 MB | 1 年前3
共 3 条
- 1













