Git use notes to organize

Reference article

Install git

Install git tortoise

Set username and password

$ git config --global user.name "xxx"
$ git config --global user.email "[email protected]"

img_dd41b7ed20a38933ab9e5cb188265a23.png

Generate key

ssh-keygen -t rsa -C "[email protected]"

img_da10b3bd766c384c55f32a0a5717feda.png
Generate key

Configure Git Tortoise private key

If the relevant environment variables are configured in step 2, you can directlycmdOpenputtygen(It can also be found under the installation path of TortoiseGitC:\Program Files\TortoiseGit\bin\puttygen.exe)
Click the following figureloadLoad private keyid_rsa,then clickSave private keyGenerate the ppk file that TortoiseGit needs to use(id_rsa.ppk)

img_de79e72b4f981a96dda5646127295918.png

9. Use TortoiseGit to pull down the code configuration 2--->****** Configure TortoiseGit client
  Open
TortoiseGitSettings page, configure related parameters as follows: configure user name and mailbox, configure server code path and the above obtainedid_rsa.ppkPath to enter TortoiseGitSettingsPage, click on the Git directory in the left navigation bar,Set user name and email (Name, Email),Name will be displayed when the code is submitted, if used beforegit configConfigured, there is no need to configure here.

img_be23c7eee5399ab2b8330add0c02abdd.png

img_2642342d98b3537c2382c35f1b0c82dd.png

Then click under Git
RemoteMenu, add oneoriginInformation of remote warehouse:Remote is a name for remote, URL is the address of remote warehouse, Putty is the path of id_rsa.ppk file**
At this point, you can use TortoiseGit to work normally, you can try pull, commit and other functions

Intelligent Recommendation

HTML5 notes (4): Use lists to organize information

The learning content in this chapter is as follows: How to create a numbered list How to create a project list How to create a definition list 1. The list is a general-purpose container for placing tr...

How to better use git lab to organize team development

Foreword Most of the developed partners are no strangers to git. They can use git to develop team collaboration, and can record the iterative history of the code. It is easy to trace back when problem...

[Git notes] git use notes

contents First, pull the warehouse code, submit the code Second, new, switch branch First, pull the warehouse code, submit the code 1, pull the git project. 2, submit the code process Step1. View the ...

Organize gitlab, git

Download git Install configuration git Git common commands ssh Gitlab community installation Configure gitlab url Gitlab common commands...

More Recommendation

Git learning to organize

I used Git's Git tutorial to sort through Git's summary. Later, when I used Git, I found that there are still a lot of operations, so I will use Git again. Install Git Git on Windows, you can download...

Common git commands to organize

Git remote warehouse management View, switch, create and delete branches Push the local branch to the remote branch Delete remote branch Rename local branch: Single commit to merge into other branches...

git common steps to organize

First clone the project to the local, and then enter the project file. 1. Create your own branch git checkout -b cmd/func (cmd/func is the branch name) The feature branch is named with the content of ...

git operation to organize records

Summarized fromGit tutorial with Delete git remote branchThank you for your valuable experience Warning: Because of detail, so the text is a bit long, the effect of the operation is beyond your expect...

Python study notes 11-use python to organize txt documents

I haven't used python for a long time. After returning to school, I was busy flying, just a few more hands. Today, classmate xbs found me, asked me questions, and showed me his notes file.Notes are te...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top