git cancel command

1, remove the git add. Content

git reset HEAD

2, remove the contents of the git commit (commit_A is the file name)

git rebase -i  commit_A

 

Guess you like

Origin www.cnblogs.com/zph666/p/11130944.html