第 4 節

Frequently Asked Questions

0瀏覽次數0訪問次數--跳出率--平均停留

If you want to cancel a commit that was made locally, you can use git reset to undo it.


# 设置默认编辑器
git config --global core.editor vim

# 使用交互式rebase
git rebase -i HEAD~2

If I don't want to submit "add bishe" anymore.

You can modify the image above to:

drop <hash1> add bishe
pick <hash2> update

Then exit the editor and it's done.

音乐页