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 when git push (instead of giving error local , remote repositories being out of sync)
  • they not downloaded when git pull


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -