GithubHelp home page GithubHelp logo

process's Introduction

##初进公式的流程(process)

1 下载项目,一般公司会有自己的github或者svn

git的配置ssh和用户名以及邮箱

这些配置是为了以后领导看你的代码或者qa测试给你提bug的时候用

   $ git config --global user.name "xxxx"
   $ git config --global user.email "xxxxx"

###生成密钥

$ ssh-keygen -t rsa -C "xxxx"

连续3个回车。如果不需要密码的话。 最后得到了两个文件:id_rsa和id_rsa.pub。 文件地址 :C:\Users\Administrator.ssh 或者使用命令行 $ cat ~/ssh/id_rsa.pub

当然,你也可以直接使用nodepad++等编辑器打开这个文件,复制出来。 将获得的public key添加在github账户上:

Alt text

###ssh key添加到github上 右上角点击头像-> 点击settings-> 点击SSH KEYS-> 点击ADD SSH KEYS-> 将获取的public key粘贴于此 Alt text Alt text Alt text 5、测试: $ ssh -T [email protected] 你将会看到:

The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)?

选择 yes

xxx! You've successfully authenticated, but GitHub does not provide shell access. 如果看到Hi后面是你的用户名,就说明成功了。

##你已经有权限下载了 git clone 地址

process's People

Contributors

zhangfaliang avatar

Watchers

James Cloos avatar  avatar

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.