Doing this for every project would get old - turns out you can ignore files in git globally. 1. Create a file at: ~/.gitignore_global
2. Add scratch.md
to the first line 3. Run: git config --global core.excludesfile ~/.gitignore_global
There ya go, now you can scratch away in your new scratch.md
file. Enjoy!
Created
January 21, 2023 09:39
-
-
Save tanvirraj/cff0d2feb953126d672831b11d3e1ffa to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment