GithubHelp home page GithubHelp logo

github's Introduction

GitHub 与 Git 的使用

git

查看Git所有配置以及他们所在的文件:

git config --list --show-origin

image-20211224175501423

git config --global user.name "John Doe"		# Git上配置GitHub用户名称
git config --global user.email "johndoe.example.com"   	# Git上配置GItHub注册邮箱

Git本地创建key钥

ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519

把生成的id_rsa.pub的信息添加到Github的SSH and GPG Keys中

GitHub添加key

image-20220110161324976

image-20220110161340542

echo "# IpadPro11" >> README.md
git init														    # 会在本地项目中,生成一个.git的文件
git add README.md												# 添加文件到仓库
git commit -m "first commit"						# 提交的文件注释说明,最好说明一下,否则有时会出错
git branch -M mei												 
git remote add origin https://github.com/meichenblog/IpadPro11.git # 将本地仓库关联到github的仓库里去
git push -u origin mei                  # 将代码提交到Github上

配置Github访问加速

https://github.com/oldj/SwitchHosts

https://swh.app/

https://github.com/521xueweihan/GitHub520

https://github.com/gauseen/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.