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
(orgit 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
Post a Comment