Aral Balkan on Nostr: Protip: On Linux, if you rename a file, changing only the case of the file name ...
Protip: On Linux, if you rename a file, changing only the case of the file name somehow, e.g.,
main.layout.js → Main.layout.js,
Git will pick up the change immediately.
On macOS, because it Just Works™ and you’re holding it wrong, you have to manually tell it:
git mv main.layout.js Main.layout.js
🤷♂️
#macOS #caseSensitivity #git #dev
Published at
2025-02-09 17:31:13Event JSON
{
"id": "dec3cf58f7c2b07e28048f9afacbd8d3e5f8ef7d6f6e4bd0fd8f31ea8b631b37",
"pubkey": "9da994565b2f3100ad1714080d081a90c771b9bb1276d939795f5a9e179af829",
"created_at": 1739122273,
"kind": 1,
"tags": [
[
"e",
"e42548e87d1b42b35be0330cee3d8426d0cac1881f928f64e166ffdcbb74a8ac",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"macos"
],
[
"t",
"casesensitivity"
],
[
"t",
"git"
],
[
"t",
"dev"
],
[
"proxy",
"https://mastodon.ar.al/users/aral/statuses/113975117305180015",
"activitypub"
]
],
"content": "Protip: On Linux, if you rename a file, changing only the case of the file name somehow, e.g.,\n\nmain.layout.js → Main.layout.js,\n\nGit will pick up the change immediately. \n\nOn macOS, because it Just Works™ and you’re holding it wrong, you have to manually tell it:\n\ngit mv main.layout.js Main.layout.js\n\n🤷♂️\n\n#macOS #caseSensitivity #git #dev",
"sig": "08b1a3dff652bfef7871bc3d72f6565510340f61651fdeb4fd2990878dad8748241e866a5c81f9b163a99905f1ef1ad1d94b3d17e365ed7ac8d43d46c3daefbe"
}