Last modified by Boris Folgmann on 2026/01/19 11:04

From version 1.1
edited by DOaaS Operator
on 2025/02/05 11:33
Change comment: Imported from XAR
To version 2.1
edited by Boris Folgmann
on 2026/01/19 11:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.sdcloud-admin-0
1 +xwiki:XWiki.borisfolgmannt-systemscom
Content
... ... @@ -121,27 +121,23 @@
121 121  
122 122  === (% style="color:#172b4d" %)Cloning a project does not work. Why do I get an "fatal: unable to access ... Could not resolve host" error from Bitbucket?(%%) ===
123 123  
124 -(% style="letter-spacing:-0.006em" %)Mostly, this is due to a missing proxy configuration in your Git client. The following example uses git bash to configure the proxy.
124 +(% style="letter-spacing:-0.006em" %)Mostly, this is due to a missing proxy configuration in your Git client. The following example uses git bash to configure the proxy of your company.
125 125  
126 -sdfsdfsdf
127 -
128 128  1. Order or install git bash. You can install it yourself from [[https:~~/~~/git-scm.com/downloads>>https://git-scm.com/downloads]]
129 129  1. (((
130 -After installation start git bash and use these commands to configure git:
128 +After installation, start git bash and use the following commands to configure git. (% style="letter-spacing:-0.006em" %)You have to replace (%%)PROXY_NAME and PROXY_PORT by the correct values to make it work.
131 131  
132 132  {{code}}
133 133  git config --global user.name "John Doe"
134 134  git config --global user.email johndoe@example.com
135 135  # Use the following only if you do not use any Intranet Git repos:
136 -# git config --global http.proxy http://sia-lb.telekom.de:8080/
134 +# git config --global http.proxy http://PROXY_NAME:PROXY_PORT/
137 137  # This one is better, you can specify the domain "devops.t-systems.net" you want to use the proxy for:
138 -git config --global http.https://devops.t-systems.net.proxy http://sia-lb.telekom.de:8080
136 +git config --global http.https://devops.t-systems.net.proxy http://PROXY_NAME:PROXY_PORT
139 139  {{/code}}
140 140  
141 -This config will be automatically saved to your user's //.gitconfig//. In case you use a different proxy to access DevOps-as-a-Service hosted BitBucket projects, use that in the statements above instead of `sia-lb.telekom.de:8080`
139 +This global git config will be automatically saved to the file //.gitconfig// located in the home directory of your user.
142 142  )))
143 -1. Older git versions might show TLS errors when connecting to HTTPS servers. Then only a more recent git bash will help.
144 -1. (% id="cke_bm_750982S" style="display:none" %) (%%)On some notebooks, Windows saves the global .gitconfig to the network drive. Switch it offline if you would not lose your .gitconfig from time to time ...
145 -1. Best solution to let git use a global config on your local drive is to set the env var {{code language="none"}}XDG_CONFIG_HOME{{/code}} since git will use the file {{code language="none"}}$XDG_CONFIG_HOME/git/config{{/code}} instead if the envvar is set. See [[https:~~/~~/git-scm.com/docs/git-config>>url:https://git-scm.com/docs/git-config||rel="nofollow" shape="rect" style="text-decoration: none;" class="external-link"]]
141 +1. You can set the env var {{code language="none"}}XDG_CONFIG_HOME{{/code}} if you want to have the config places in another folder. When this env var is set, git will use the file {{code language="none"}}$XDG_CONFIG_HOME/git/config{{/code}}. See [[https:~~/~~/git-scm.com/docs/git-config>>url:https://git-scm.com/docs/git-config||rel="nofollow" shape="rect" style="text-decoration: none;" class="external-link"]]
146 146  
147 147