Skip to content

Commit

Permalink
Tweak message used for auto-generated commits
Browse files Browse the repository at this point in the history
  • Loading branch information
meribold committed Jan 19, 2020
1 parent 858dbff commit 3a2a411
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion git-snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ cleanup() {
trap cleanup EXIT

# This will also commit new files that are already staged. I think that's good.
git commit --no-verify -am Snapshot$'\n\n'"This is a snapshot of my current working tree."
git commit --no-verify -am 'Snapshot
This is a snapshot commit created by git-snap.
https://github.com/meribold/git-snap'

# [1]: https://stackoverflow.com/q/6070179
# "Switching branches without touching the working tree?"
Expand Down

0 comments on commit 3a2a411

Please sign in to comment.