Post AX6gMo03D4iOKff5sG by dynge@fosstodon.org
(DIR) More posts by dynge@fosstodon.org
(DIR) Post #AX5wNo1jzxBCoazWnA by hyde@lazybear.social
2023-06-26T20:49:50Z
0 likes, 1 repeats
#Git Worktrees are great! Use them instead of git stash. #CLI #100DaysToOffload : 62/100https://lazybear.io/posts/git-worktrees
(DIR) Post #AX5wmx7fJnFWGQklyC by adamsdesk@fosstodon.org
2023-06-26T20:54:21Z
0 likes, 0 repeats
@hyde Interesting, I wasn't even aware of git worktrees. I'll take a look into this as I've always found stashes helpful yet annoying to use.
(DIR) Post #AX6gMo03D4iOKff5sG by dynge@fosstodon.org
2023-06-27T05:25:04Z
0 likes, 0 repeats
@hyde how about editing tools. Do you get separate .git folders in each worktree?I think most my editors automatically sets the root to that folder. So I wonder if this will screw something up in lsps.Do you have experience with that?
(DIR) Post #AX6orCoqIR5Fd2QU3U by hyde@lazybear.social
2023-06-27T07:00:13Z
0 likes, 0 repeats
@dynge in each work tree you get a .git file containing gitdir pointing to the worktree so I guess it knows what it's doing 😅
(DIR) Post #AX6pMF77oWunitmFfc by brunorobert@mastodon.social
2023-06-27T07:05:48Z
0 likes, 0 repeats
@hyde going to give it a go. I wonder how it interacts with #jetbrains IDEs (#PyCharm, #CLion, etc.)
(DIR) Post #AX6pUFUKJ4BlCURmhE by hyde@lazybear.social
2023-06-27T07:07:17Z
0 likes, 0 repeats
@brunorobert using vim/neovim here 🙌