Open robbin0919 opened 6 months ago
[Window Title]
Visual Studio Code
[Content]
There are no staged changes to commit.
Would you like to stage all your changes and commit them directly?
[Yes] [Always] [Never] [Cancel]
git stash list --pretty="%Cred%h%Creset -%C(auto)%d%Creset %gs %Cgreen(%cr) %C(bold blue)<%an>%Creset"
將 uncommitted changes stage 起來
git add -u .
拉回暫存的內容
git stash pop
unstage 所有檔案
git reset
How to Switch Branch and Ignore Any Changes Without Committing?
改到一半想切去其他 branch 但又不想 commit 怎麼辦?