Archived
cd to script directory before git add
This commit is contained in:
1 parent
add5477c52
commit
7efa3ccd50
1 file changed
+2
@@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
git add -A
|
git add -A
|
||||||
|
|
||||||
if [ -z "$(git status --porcelain)" ]; then
|
if [ -z "$(git status --porcelain)" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user