tagged [gitignore]

How to remove files that are listed in the .gitignore but still on the repository?

How to remove files that are listed in the .gitignore but still on the repository? I have some files in my repository that should be ignored, i added them to the .gitignore but, of course, they are no...

11 Mar at 17:37

.gitignore and Visual Studio project: Ignore bin/Debug directory but not bin/Release directory

.gitignore and Visual Studio project: Ignore bin/Debug directory but not bin/Release directory I have a C# Visual Studio project in a git repository. I want to ignore the contents `bin/Debug` director...

20 Jun at 15:56

Commit empty folder structure (with git)

Commit empty folder structure (with git) I have data directory in project's root. It has images directory and some files. Here is example: What to write in gitignore, to ignore files from data/ direct...

24 Sep at 08:10

.gitignore is ignored by Git

.gitignore is ignored by Git My `.gitignore` file seems to be being ignored by Git - could the `.gitignore` file be corrupt? Which file format, locale or culture does Git expect? My `.gitignore`: Outp...

1 Feb at 00:10

Best practices for adding .gitignore file for Python projects?

Best practices for adding .gitignore file for Python projects? I'm trying to collect some of my default settings, and one thing I realized I don't have a standard for is .gitignore files. There's a gr...

31 Dec at 21:52

vsts new repo has a gitignore option for many platforms/languages but not .net/c#

vsts new repo has a gitignore option for many platforms/languages but not .net/c# I noticed that VSTS has an "Add a .gitignore" dropdown with many different platforms/languages options for selection. ...

18 Jul at 18:5

What to gitignore from the .idea folder?

What to gitignore from the .idea folder? > [Intellij Idea 9/10, what folders to check into (or not check into) source control?](https://stackoverflow.com/questions/3041154/intellij-idea-9-10-what-fol...

21 Nov at 10:17

Should the package-lock.json file be added to .gitignore?

Should the package-lock.json file be added to .gitignore? To lock the versions of dependencies that are installed over a project, the command `npm install` creates a file called `package-lock.json`. T...

30 Jan at 14:58

git add only modified changes and ignore untracked files

git add only modified changes and ignore untracked files I ran "git status" and listed below are some files that were modified/or under the heading "changes not staged for commit". It also listed some...

19 Aug at 16:40

Correctly ignore all files recursively under a specific folder except for a specific file type

Correctly ignore all files recursively under a specific folder except for a specific file type I have seen similar questions ([1](https://stackoverflow.com/questions/11852558/gitignore-only-allow-cert...

Should I check in folder "node_modules" to Git when creating a Node.js app on Heroku?

Should I check in folder "node_modules" to Git when creating a Node.js app on Heroku? I followed the basic instructions for Node.js on Heroku here: [https://devcenter.heroku.com/categories/nodejs](htt...

2 Jan at 16:55