Skip to content

Commit ff67375

Browse files
committed
M bin/git-magic
1 parent 30a84ed commit ff67375

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/git-magic

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ git status
55
read -p "Press enter to continue"
66

77
# Add everything, exit if empty
8+
cd "$(git rev-parse --show-toplevel)"
89
git restore --staged .
910
git add . >/dev/null 2>&1 || exit 1
1011

0 commit comments

Comments
 (0)