diff --git a/config/.gitconfig b/config/.gitconfig index ebf136e..374fb81 100644 --- a/config/.gitconfig +++ b/config/.gitconfig @@ -23,5 +23,17 @@ path = ~/.gitconfig.local [core] excludesfile = ~/.gitignore.global + autocrlf = false [credentail] helper = cache + + +[url "https://vishap@github.com/"] + insteadOf = github: + +[url "https://gitlab.com/"] + insteadOf = gitlab: + +[url "http://192.168.0.4:8080/"] + insteadOf = mylab: + diff --git a/local/bb_local_dev/.gitconfig.local b/local/bb_local_dev/.gitconfig.local new file mode 100644 index 0000000..730c818 --- /dev/null +++ b/local/bb_local_dev/.gitconfig.local @@ -0,0 +1,31 @@ +[user] + name = Vahagn Khachatryan + email = vkhachatrya5@bloomberg.net + +[url "bbgithub:"] + insteadOf = https://bbgithub.dev.bloomberg.com + +[http "https://github.com"] + proxy = http://proxy.bloomberg.com:81 + sslCAinfo = /usr/local/share/ca-certificates/bloomberg-root-ca.crt + +[url "https://github.com/"] + insteadOf = github.com: +[url "https://github.com/"] + insteadOf = git@github.com: +[url "https://github.com/"] + insteadOf = ssh://git@github.com/ + +[http "https://gitlab.com"] + proxy = http://proxy.bloomberg.com:81 + sslCAinfo = /usr/local/share/ca-certificates/bloomberg-root-ca.crt + +[url "https://gitlab.com/"] + insteadOf = gitlab.com: +[url "https://gitlab.com/"] + insteadOf = git@gitlab.com: +[url "https://gitlab.com/"] + insteadOf = ssh://git@gitlab.com/ + +[http "http://192.168.0.4:8080"] + proxy = socks5://127.0.0.1:1080