I keep a lot of files in my home directory under git . Important dotfiles, my thesis, etc.
I want to click specific files on github, for example my emacs configuration, to share.
Obviously, I don't want to push the entire repo. Are there submodules path?
My first thought is to make the ~/github/emacs and rsync directory the sample files here, and then add a submodule under this directory, pointing to github to click on.
Is this a good idea, or is there a better way?
(I donβt want my local git repository to save all files to get confused in this stuff.)
source share