Created
November 16, 2021 14:20
-
-
Save it-is-wednesday/3f463faeb36000d871cd742c1990ce23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env fish | |
set affected (git status --porcelain | cut -d' ' -f 3 | awk -F'/' '{print $NF}' | string join ", ") | |
# --all stages all changes to already-tracked files | |
git commit --all -m $affected | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment