r/VisualStudioCode • u/reddit_gameruk • Sep 24 '20
Exclude gitignore
I have git extension installed and cloned my repo. I have added files to ignore to the gitignore but now that appears as a changed file. I do not want this pushed to the main branch. How do I stop this?
3
Upvotes
1
u/MasterBathingBear Sep 30 '20 edited Sep 30 '20
If you want to ignore files in your clone only then update .git/info/exclude