DEV Community

loading...

Discussion on: Dotfiles - Git Config with Aliases

Collapse
vlasales profile image
Vlastimil Pospichal

git make change directory to root of the project first.
I put my own working configuration into exclude, testing directories, swap files, Makefile in project without Makefile, tagfiles, etc. There should also be IDE files inside, but many developers do weeds .gitignore, which is common to all.

Thread Thread
michaelcurrin profile image
Michael Author

Oh yes I forgot about that in git.

If you don't want to run exclude each time you can add those IDE files to your global gitignore file

dev.to/michaelcurrin/dotfiles-glob...

Thread Thread
vlasales profile image
Vlastimil Pospichal

Yes, I know the global gitignore and I use it, but something is differ in different projects.