how to add custom config without modifiying your config
oouxx opened this issue · 2 comments
oouxx commented
I changed the mirror to tencent a few days ago.Today I git pull the code.I am annoyed by the merge conflicts.there ia a way that I can add custom config without modifying your config
MatthewZMD commented
This is more of a git issue
2 possible solutions:
-
You can simply create a new file, require it in init.el, and add it to .gitignore, anything there will not be affected by my changes.
-
If you want to ignore sections of a file, maybe check out something like this here:
https://stackoverflow.com/questions/16244969/how-to-tell-git-to-ignore-individual-lines-i-e-gitignore-for-specific-lines-of
oouxx commented
Thanks. I will have a try.