Skip to content

Instantly share code, notes, and snippets.

@dewomser
Created March 15, 2024 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dewomser/f659f2d8cce0d457cd4c2f04a341d828 to your computer and use it in GitHub Desktop.
Save dewomser/f659f2d8cce0d457cd4c2f04a341d828 to your computer and use it in GitHub Desktop.
Autocommit für Git . Ein 1-Liner für die Bash
#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