MatthewZMD/.emacs.d

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

This is more of a git issue

2 possible solutions:

  1. 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.

  2. 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.