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:47Event JSON
{
"id": "9589e4dfe28dc19be74e7ebb2c850ff93ca753bdffde57c7bf87d8c72f985e42",
"pubkey": "9774fa73d93e8079d02b61097a0aae23f9890f35ef99040aec95d0def2f24e27",
"created_at": 1725530987,
"kind": 1,
"tags": [
[
"t",
"git"
],
[
"proxy",
"https://social.linux.pizza/users/musicmatze/statuses/113084398802495287",
"activitypub"
]
],
"content": "TIL\n\n#git diff -- ':!Cargo.lock'\n\nTo diff, but ignore Cargo.lock (because who really cares about generated code, right?)",
"sig": "3615bee0792fa1b625a54f0eadd6c9b97263cfa062cc794ac8055e48297f94784dc956d80fa15845225e23f58e2c2394e81bd1218a5678f0aca241b87515aad1"
}