musicmatze :rust: :nixos: on Nostr: TIL git diff -- ':!Cargo.lock' To diff, but ignore Cargo.lock (because who really ...
TIL
git diff -- ':!Cargo.lock'
To diff, but ignore Cargo.lock (because who really cares about generated code, right?)
Published at
2024-09-05 10:09:33Event JSON
{
"id": "5317f83b7209d049b4bb76fb3fd3337de75d8b64f26dbf250ba6bce09e6c1d38",
"pubkey": "9774fa73d93e8079d02b61097a0aae23f9890f35ef99040aec95d0def2f24e27",
"created_at": 1725530973,
"kind": 1,
"tags": [
[
"proxy",
"https://social.linux.pizza/users/musicmatze/statuses/113084397861524564",
"activitypub"
]
],
"content": "TIL\n\ngit diff -- ':!Cargo.lock'\n\nTo diff, but ignore Cargo.lock (because who really cares about generated code, right?)",
"sig": "4b2cbe0c1b8e30d2be00ca8fbbe64085d5d2be5bf3ecb04aeba938f1a6d7f8e37bde6084b526bf7fa2d095cf70710baac080f947135e1d6adfb21c5503b2d06f"
}