Solve the problem of slow opening github webpage
Not much to say, just go to the operation, open the computer hosts file, put the IP of github, and save it. Everyone's computer path is slightly different, but the difference is not big. You can find it carefully.
C:\Windows\System32\drivers\etc
After finding the hosts file, use Notepad to open it. If your friend doesn't work well with Notepad, you can open it with some code-opening programs, such as notepad++,
then copy this text to the end of the document, save and exit.
# GitHub Start
140.82.114.4 github.com
199.232.69.194 github.global.ssl.fastly.net
# GitHub End
Solve the problem of entering a password every time you upload github
1. First open the folder directory you want to upload every time
2. In the blank space, right-click git bash here, so that you can locate the folder where you are
3. Enter the following command and press Enter
git config --global credential.helper store
After such an operation, push the code again as usual, only need to input this time, no more input later, once and for all, comfortable.
If you jump out of the prompt window, just type in letters and press Enter to skip directly.