Ultra-detailed github configuration (look carefully, you won’t be able to read it, you blame me)

Importance of github:

A must for programmers in the Internet age.

The role of github:

  1. version management
  2. Collaboration
  3. open source sharing

Common schemes:

git+TortoiseGit+github

[Tortoise, programmers often call it a little turtle, a little turtle]

Installation and configuration steps

1. Register

GitHub: Where the world builds software · GitHubGitHub is where over 83 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and features, power your CI/CD and DevOps workflows, and secure code before you commit it.https://github.com/ 

Use email: (for example: [email protected])

The password needs to contain at least one lowercase letter and at least seven characters

 In step2, fill in the personal description information and click submit directly.

2. Install git locally

3. Install tortoisegit

4. Configure the account configured by git

File: .gitconf

[filter "lfs"]

        clean = git-lfs clean -- %f

        smudge = git-lfs smudge -- %f

        process = git-lfs filter-process

        required = true

[user]

        name = wwww

        email = [email protected]

The blue font is the user name of the github account and the email address for registration

5. Create a warehouse on github

6. Clone the github warehouse to the local

   The local directory must be empty

7. In this local directory, create a vs project.

8.commit [submit] to the local warehouse

9.push [push] to the github warehouse

If there is no pop-up box to enter the password, this is entered on the git terminal:

git  credential-manager  uninstall

Used to clear the username and password cached in git

Guess you like

Origin blog.csdn.net/m0_65635427/article/details/130661562