If you find that some untracked files that were ignored before don’t be alarmed! There are two possibilities:
Maybe those files are specific to your dev environment? Your vim
.swpfiles, VSCode workspace, macOS
In that case, you should ignore them globally, so they’re no longer a problem in any repo! To enable global gitignore (
Then create that file and add your VIM/VSCode/Sublime/Emacs/Eclipse/RubyMine/JetBrains/macOS/Arch/Windows 95-specific stuff.
git config --global core.excludesFile '~/.gitignore'
- Or, maybe it was discourse-specific file that we should keep in .gitignore? If so, let me know in this topic.