6 ms·
> For example, if you type `git add .` while in ~/code/some-project, you will add it to your dotfiles repository. If your project has its own .git directory, n
by justinmk 11y ago
> For example, if you type `git add .` while in ~/code/some-project, you will add it to your dotfiles repository.
If your project has its own .git directory, no, it won't add to ~/.git.
- sciencerobot 10y agoYou're right. I forgot to mention that this only happens if you haven't initiated a new git repository in the directory you're working in.