Git: Snapshot
To save a snapshot of your current work in git, try this command:
git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
This saves your current work in a timestamped stash, without removing it.
Via jwworth/til.
To save a snapshot of your current work in git, try this command:
git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
This saves your current work in a timestamped stash, without removing it.
Via jwworth/til.
Leave a comment