Kayıtlar

git config etiketine sahip yayınlar gösteriliyor

Git Help Commands

Git Help Commands Help commands here Lecture Command Listing git help git help config Command Reference Getting general help: git help Help Command Syntax -- getting help about a specific Git command: git help command

Configuration Commands

Configuration Commands Git Configuration Commands What's the current directory (present working directory)? pwd Git Config (Global/User-level) Syntax git config --global setting value Configure User and Email General Syntax: git config --global user.name "Your Name" git config --global user.email "you@someplace.com" Example using course author's information: git config --global user.name "Jason Taylor" git config --global user.email "jason@jasongtaylor.com" Listing All Global Configuration Settings git config --global --list Seeing Git's User-based Config file cat ~/.gitconfig

Getting git to work with a proxy server

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 change  proxyuser  to your proxy user change  proxypwd  to your proxy password change  proxy.server.com  to the URL of your proxy server change  8080  to the proxy port configured on your proxy server If you decide at any time to reset this proxy and work without proxy: Command to use: git config --global --unset http.proxy Finally, to check the currently set proxy: git config --global --get http.proxy OR Step 1:  Open Git BASH Step 2:  Look for  .gitconfig , executing following command: git config --list --global --show-origin Step 3:  Copy the below content in  .gitconfig : [http] proxy = http://YOUR_PROXY_USERNAME:YOUR_PROXY_PASSWORD@YOUR.PROXY.SERVER:YOUR.PROXY.SERVER.PORT sslverify = false [https] proxy = http://YOUR_PROXY_USERNAME:YOUR_PROXY_PASSWORD@YOUR.PROXY.SERVER:YOUR.PROXY.SERVER.PORT sslverify ...