Skip to content

Commit c21cea2

Browse files
committed
add snapshot
1 parent 0b8bb50 commit c21cea2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

git-snapshot

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
if [[ $@ ]]; then
4+
note=" - $@"
5+
fi
6+
7+
$(git stash create -u "snapshot: $(date "+%Y-%m-%d %H:%M:%S") $note")

0 commit comments

Comments
 (0)