commit by magit in emacs@2022-05-17 21:32:43

This commit is contained in:
Aborn Jiang 2022-05-17 21:32:46 +08:00
parent 09491c1182
commit b7825a9267
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ git pull origin master --allow-unrelated-histories
git reset <filename>
## reset single file
git checkout HEAD -- my-file.txt
git checkout -- components/TopBar.vue
git reset HEAD~1 ## 撤销上次commit保留文件的改变只将指针调到上一次
## github 的pull/request前先同步上流源