The company has been using svn, and it has used github version management before, but it has always been a visual operation. I have
interviewed several front-ends in the past few days, and I found out that they used git in the previous company,
so today Take a good look at how to use the command line to perform git operations.
The first thing to solve is this access speed problem:
- Get the ip of the Github related website
- Visit https://www.ipaddress.com, pull down and find "IP Address Tools – Quick Links" at the bottom of the page
- Enter github.global.ssl.fastly.net and github.com respectively to query the ip address
- Modify the local hosts file
- For reference, add the mapping of github.global.ssl.fastly.net and github.com.
151.101.113.194 github.global.ssl.fastly.net
192.30.253.112 github.com
- For reference, add the mapping of github.global.ssl.fastly.net and github.com.
- Update the DNS cache (it seems that you can not update it, it will be updated automatically)
- Command line input: ipconfig /flushdns
- Pro test success