Git/stash

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Jump to: navigation, search

Action: saves your local modifications away and reverts the working directory to match the HEAD commit

Commands

  • git stash apply replaces current files with the most recently stashed files (but does not delete the stash)
  • git stash drop deletes the newest stash (i.e. the most recently stashed files)
  • git stash list displays existing stashes, for all branches, sorted newest-to-oldest

Links

Documentation