Loading...
「ツール」は右上に移動しました。
利用したサーバー: natural-voltaic-titanium
0いいね 13回再生

"Git Stash Explained: Temporarily Save and Restore Changes"

What is git stash?
git stash is a Git command used to temporarily save uncommitted changes in your working directory without committing them. This is helpful when you need to switch branches or pull updates but don't want to lose your current work.



Basic Commands:
Command Description
git stash Stash current changes (tracked files only)
git stash -u Stash including untracked files
git stash list Show list of all stashed changes
git stash apply Apply most recent stash (keeps stash in list)
git stash pop Apply and remove most recent stash
git stash drop Delete a specific stash
git stash clear Remove all stashed entries

コメント