Some of the problems encountered during the project and uploads git pull

1. Perform initialization file in the Desktop Items

zhaoyang@DESKTOP-69DQEVR MINGW64 ~/Desktop/project
$ git init

2. Generate SSH keys

zhaoyang@DESKTOP-69DQEVR MINGW64 ~/Desktop/project (master)
$ ssh-keygen -t rsa -b 4096 -C “xxx邮箱”

The above-described process steps are normal

3. Take their own password generating operation

$ Clip <~ / .ssh / id_rsa problems result format GitHub paste,

To solve the problem: should take is to generate the public key DESKTOP-69DQEVR MINGW64 @ Zhaoyang ~ / .ssh
$ LS -LF
id_rsa id_rsa.pub known_hosts direct cat id_rsa.pub then copy the ok

4: Execute ssh -T [email protected] // git config -global user.name "xx"

git config –global user.email “xxx.com”

Go to want to store on disk folder ok (recommendation D)

zhaoyang@DESKTOP-69DQEVR MINGW64 /D/examples
$ git clone https://github.com/23xlh/xlh-111-xlh.git

On the line (you'll see the percentage of the process)

———————————————————————————–up

5: The first advanced to the project folder under the file you want to upload

Execute git status // git add. // git commit -m 'xxx just push'

3-step process is normal

6: git push origin push appears appears origin 'does not appear to be a git repository while pushing down the execution ......

Solve: git push -u origin master OK (you'll see the percentage progress) git log (you can view task history)

 

Haha, say a joke: I asked the leadership of the derivative is not a natural number is 0, 2 points PAI how derivative is not zero, the result is leading to the popularity of the PAI is what number. Haha - their mathematical

Guess you like

Origin www.cnblogs.com/xlhlx/p/11875376.html