You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which adds defaultBranch = main to ~/.gitconfig, but I noticed the changes weren't reflected in ~/.ocd/.gitconfig. So, I checked the inodes for both files, and it looks like git config is replacing ~/.gitconfig entirely, creating a new file with a new inode, so it's no longer linked to the files in ~/.ocd.
I don't really know wtf to do about that. I could add some kind of thing that checks all the files to see if inodes have changed, but that feels clunky. When does it run? What happens if it finds changes? Should it notify the user?
The text was updated successfully, but these errors were encountered:
I did:
Which adds
defaultBranch = main
to~/.gitconfig
, but I noticed the changes weren't reflected in~/.ocd/.gitconfig
. So, I checked the inodes for both files, and it looks likegit config
is replacing~/.gitconfig
entirely, creating a new file with a new inode, so it's no longer linked to the files in~/.ocd
.I don't really know wtf to do about that. I could add some kind of thing that checks all the files to see if inodes have changed, but that feels clunky. When does it run? What happens if it finds changes? Should it notify the user?
The text was updated successfully, but these errors were encountered: