Dessalines@lemmy.ml to Programming@programming.dev · 7 days agoWorktrees: Git's best kept secret (and why you should use them) | Tom Upswww.tomups.comexternal-linkmessage-square22linkfedilinkarrow-up1119arrow-down11cross-posted to: programming@lemmy.ml
arrow-up1118arrow-down1external-linkWorktrees: Git's best kept secret (and why you should use them) | Tom Upswww.tomups.comDessalines@lemmy.ml to Programming@programming.dev · 7 days agomessage-square22linkfedilinkcross-posted to: programming@lemmy.ml
minus-squareKubeRoot@discuss.tchncs.delinkfedilinkEnglisharrow-up3·6 days agoIf they’re ignored files, setting them up locally won’t end up in the repo. If you put a symlink into the repo, fixing that for your setup will register as a change within git, which can cause annoyance and even problems down the line.
minus-squareMartin@feddit.nulinkfedilinkarrow-up3·2 days agoI don’t think anyone suggested that you add the .env symlink to the index. It should be ignored by git.
If they’re ignored files, setting them up locally won’t end up in the repo. If you put a symlink into the repo, fixing that for your setup will register as a change within git, which can cause annoyance and even problems down the line.
I don’t think anyone suggested that you add the .env symlink to the index. It should be ignored by git.