Adam Johnson :django: :python: on Nostr: #Git mini tip: you can provide a commit message on the command line *and* extend it ...
#Git mini tip: you can provide a commit message on the command line *and* extend it in your editor with:
git commit -em "Reflorb the skub"
Combining -e (--edit) and -m (--message).
Great for starting with a title and then expanding with more info in your editor.
Published at
2025-01-15 23:19:25Event JSON
{
"id": "b65f37aea81a63f6c9e7b863e16428e0e08410d748d4f5f9530c40b13feb35c7",
"pubkey": "abd7b12334b7bf9cc7638a85a9561d9b91de79e951684a6ffc690d62810479b7",
"created_at": 1736983165,
"kind": 1,
"tags": [
[
"t",
"git"
],
[
"proxy",
"https://fosstodon.org/users/adamchainz/statuses/113834928721335263",
"activitypub"
]
],
"content": "#Git mini tip: you can provide a commit message on the command line *and* extend it in your editor with:\n\ngit commit -em \"Reflorb the skub\"\n\nCombining -e (--edit) and -m (--message).\n\nGreat for starting with a title and then expanding with more info in your editor.",
"sig": "63e83da6a900462f9c206c1f1a8b99e59568358d594fbcd653c1c253abc5d21b464993c54e1c5bcd68e6c8002d236f5d04d78d34c9e2c9a3c56bdf910f37f8f0"
}