We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a84ed commit ff67375Copy full SHA for ff67375
bin/git-magic
@@ -5,6 +5,7 @@ git status
5
read -p "Press enter to continue"
6
7
# Add everything, exit if empty
8
+cd "$(git rev-parse --show-toplevel)"
9
git restore --staged .
10
git add . >/dev/null 2>&1 || exit 1
11
0 commit comments