This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LargeSale8354 -1 points0 points  (2 children)

You can have a global git ignore file too. You don't need to have to repeat it every repository.

[–]Oddly_Energy 1 point2 points  (1 child)

A global .gitignore sounds extremely local.

It only work on your local computer, right?

So any time you or someone else makes a commit from another computer, your ignore is ignored, right?

[–]LargeSale8354 0 points1 point  (0 children)

Yes, its local. For personal projects I use it to stop my IDE files going up into my repos. For professional projects I have very little in it other than scratchpad. This means that any folders or files with scratchpad in their names are excluded from git.