Tag: gitignore

59 votes
9 answers
2.1K views
Remove directory from remote repository after adding them to .gitignore

I committed and pushed some directory to github. After that, I altered the .gitignore file adding a directory

avatar
Shantay
0 1 0 9
asked 07 September, 2021
61 votes
21 answers
995 views
Ignore files that have already been committed to a Git repository

I have an already initialized Git repository that I added a .gitignore file to. How can I refresh the fil

avatar
Wilber
0 1 0 9
asked 07 September, 2021
64 votes
30 answers
341 views
How can I make Git "forget" about a file that was tracked, but is now in .gitignore?

There is a file that was being tracked by Git, but now the file is on the .gitignore list. However, that file

avatar
Hilario
0 1 0 9
asked 07 September, 2021
68 votes
8 answers
758 views
Cordova 5.0.0: Which files should I commit to git?

I use Cordova 5.0.0 and i have the following project structure: MyProject - hooks - platforms - p

avatar
Suzan
0 1 0 9
asked 07 September, 2021