Open michondr opened 5 years ago
work folder and list of clients add array of client names in format
work_folder = ~
work_clients = [
google -> ondrej.michalek@google.com
amazon -> michalek@amazon.com
microsoft -> michondr@microsoftonline.gov
]
for each of these there will be created directory in work folder $work/_$client
, and created a gitconfig file with email:
[user]
email = ondrej.michalek@google.com
each of these files will then be added to root .gitconfig
file in this way:
[includeIf "gitdir:$work_dir/_$work_client/"]
path = $work_dir/_$work_client/.gitconfig
Add config file so that user can set his custom variables