Git

clone a repository with credentials

git clone http(s)://<username>:<password>@<hostname>/<path>/gitfilename.git

Check global proxy

git config --global http.proxy

Set global proxy

git config --global http.proxy http://127.0.0.1:10809
git config --global https.proxy http://127.0.0.1:10809

Clear global proxy

git config --global --unset http.proxy

Set global user name an email

git config --global user.name '{username}'
git config --global user.email '{email}'
创建时间:6/26/2022 12:00:42 AM 修改时间:6/26/2022 12:12:38 AM