The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Practical Git: Remove all unnecessary git tracking with a global .gitignore file

Practical Git: Remove all unnecessary git tracking with a global .gitignore file

0:57
If you regularly use code editors, GUI tools or other programs that automatically create files and folders, you may want to set up a global `.gitignore` file which will apply to every repo on your machine. In this lesson, we show how to do that by creating a `.gitignore_global` file with the dotfiles in our `~/` root directory, and then link it to all git repos using our global `.gitconfig`.
Watch this lesson now
Avatar
egghead.io

If you regularly use code editors, GUI tools or other programs that automatically create files and folders, you may want to set up a global .gitignore file which will apply to every repo on your machine. In this lesson, we show how to do that by creating a .gitignore_global file with the dotfiles in our ~/ root directory, and then link it to all git repos using our global .gitconfig.

Avatar
Zhentian

Thanks for the great course and great effort! Have learned many stuff.

Avatar
kefkef5

Thanks for lesson. It's the first one of many I wish to complete after getting the pro subscription. Quality resource for practical use of git, perfect.

Avatar
Trevor

You are welcome! Thank you for watching :)

In reply to kefkef5
Avatar
Trevor

I'm glad :) Thank you.

In reply to Zhentian
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?