git - Keep certain files only in remote? -
i'm synchronizing dotfiles github , want have readme.md
, license
in github repo, not want pull/push them on local machine (since pollute $home
directory).
how can keep these files uniquely on github, such that:
- them being missing in
$home
directory ignored whengit push
(instead of giving error local , remote repositories being out of sync) - they not downloaded when
git pull
Comments
Post a Comment