Preventing unwanted git email leaking

Maybe you work on different git projects, on business, then at home for personal projects. In the past, as a convenience, I set my ~/.gitconfig to include my name and email like the following.

Ignoring Files and Folders in Git

Just a hint, it’s a lot easier than Subversion. My love for Subversion grows colder each day. In your repository root directory you’ll want to create a file called .gitignore. In that file you’ll want to specify files and folders to ignore. For example. Ignore the entire Magento /media folder. media/**/* The root repository .gitignore file will act as a global but can be overridden in subdirectories by creating a .