Is it possible to clone git config from remote location? -


i have bare repo on remote location configs i'd share clones it. possible? every time clone, seems revert in .git/config defaults , add information remote repo.

i confirm local config (the 1 within .git/config) never shared amongst repo
(for various security reasons, like, instance,:

  • a git alias define commands valid in particular environment
    (or git commands themselves: no, jan hudec comments, , detailed in question "is possible override git command git alias?")
  • some github directive (github.token) supposed secret , incorrectly entered in local config instead of global one
  • personal config user.name , user.email (which can set on local level if differs other repos): wouldn't make sense propagate name , email when other clone repo.
  • ... ).

the closest way version actual file config in it, , invite users copy in .git/config file


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -