Skip to content

Commit 2a96a86

Browse files
authored
Merge pull request #203 from impresscms-dev/fix/Changed-git-add-command-to-more-simply
Changed git add command to more simply
2 parents af017f9 + c4ee58c commit 2a96a86

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bin/commit_and_push.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ pushd "$NEW_WIKI_CHECKOUT_PATH"
1515
git config advice.skippedCherryPicks false
1616
git config advice.setUpstreamFailure false
1717

18-
# idea from https://stackoverflow.com/a/10135446/1762839
1918
echo "Adding changes to GIT..."
20-
git ls-files --modified | grep '\.md$' | xargs git add
21-
git ls-files . --exclude-standard --others | grep '\.md$' | xargs git add
22-
git ls-files --deleted | grep '\.md$' | xargs git add
19+
git add -A --verbose
2320

2421
echo "Commiting..."
2522
git commit -m "$COMMIT_MESSAGE"

0 commit comments

Comments
 (0)