Created
October 26, 2023 14:14
-
-
Save james-see/cd08696d7a3274105998c289572fe2e0 to your computer and use it in GitHub Desktop.
git alias for quickness
This file contains hidden or 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
git config --global alias.rando '!sh -c "git add -A && git commit -m \"$(curl -s https://whatthecommit.com/index.txt)\" && git push"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This line will ensure you can run
git rando
and it will auto add commit and push your changes.