Not any huge ones, but there are definitely some interesting side effects.
One if that I am always in a git repo now basically, so my bash indicator of if I'm in a git branch is slightly less meaningful
Two some tools (ex: ripgrep) use your .gitignore file as a generic ignore file when searching, so this needs to be worked around. I accomplish this my using something like rg --no-ignore --glob "!.git/*". I find I don't actually run into this too often, as usually I am running rg from within a different project directory, where it's local .gitignore is used so this isn't an issue.
Besides that everything works as expected! I've been doing it for a few years now and really enjoy the setup!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Not any huge ones, but there are definitely some interesting side effects.
One if that I am always in a
git
repo now basically, so my bash indicator of if I'm in agit
branch is slightly less meaningfulTwo some tools (ex:
ripgrep
) use your.gitignore
file as a generic ignore file when searching, so this needs to be worked around. I accomplish this my using something likerg --no-ignore --glob "!.git/*"
. I find I don't actually run into this too often, as usually I am runningrg
from within a different project directory, where it's local.gitignore
is used so this isn't an issue.Besides that everything works as expected! I've been doing it for a few years now and really enjoy the setup!