Created
March 15, 2024 06:18
-
-
Save dewomser/f659f2d8cce0d457cd4c2f04a341d828 to your computer and use it in GitHub Desktop.
Autocommit für Git . Ein 1-Liner für die Bash
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
#Git zwingt zum Commit. | |
Wenn man gerade gar keine Ahnung hat wie man seine Zeit totschlagen soll … Hier kommt Autocommit ein 1-Liner. | |
---- | |
echo "Autocommit" >> README.md && git add "README.md" && git commit -m "$(w3m -dump https://whatthecommit.com | head -n 1)" | |
---- | |
Vorsicht ! README.md wird tatsächlich geändert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment