卡頌自頂向下學 React 源碼\/--》ccys1473
2023-07-05 16:01 作者:a326306624 | 我要投稿
git config --global color.diff auto git config --global color.branch auto git config --global color.interactive auto
配置之后,就有顏色了。
28. 有沒有更好的命令來替代 git push -force ?
實際上,沒有其他方法可以替代?git push—force
。雖然這樣,如果正確地使用?merge
?或?rebase
?更新分支,則無需使用?git push --force
。
只有當你運行了更改本地提交歷史的命令時,才應該使用?git push --force
。
29. 當我在?git rebase -
?選擇drop
時,是否刪除了與該提交相關的代碼?
標簽: