Git Product home page Git Product logo

actual_09_homework's Introduction

actual_09_homework

第九期作业提交

不要删除别人的代码!

目录结果

  • 01:第一次作业提交的目录
    • woniu 用自己的名字新建文件间
      • zuoye.py 作业的代码文件
    • kk kk的目录
      • zuoye.py 作业代码文件

1.桌面软件添加代码(推荐初学者)

详细说明

2.命令行添加代码

第一次使用
git init
mkdir woniu
echo  print 123 >> woniu/zuoye.py
git add .
git commit -m "first commit"
git remote add origin https://github.com/51reboot/actual_08_homework.git
git push -u origin master

后面添加代码,只需要下面三行即可
git add .
git commit -m "first commit"
git push -u origin master

用命令行操作,要添加ssh的公钥到github里,操作方法


创建SSH key的方法很简单,执行如下命令就可以:
ssh-keygen
生成的SSH key文件保存在中~/.ssh/id_rsa.pub

然后用文本编辑工具打开该文件,我用的是vim,所以命令是:
vim ~/.ssh/id_rsa.pub

接着拷贝.ssh/id_rsa.pub文件内的所以内容,将它粘帖到github帐号管理中的添加SSH key界面中。
打开github帐号管理中的添加SSH key界面的步骤如下:
1. 登录github
2. 点击右上方的Accounting settings图标
3. 选择 SSH key
4. 点击 Add SSH key
在出现的界面中填写SSH key的名称,填一个你自己喜欢的名称即可,然后将上面拷贝的~/.ssh/id_rsa.pub文件内容粘帖到key一栏,在点击“add key”按钮就可以了。
添加过程github会提示你输入一次你的github密码

添加完成后再次执行git clone就可以成功克隆github上的代码库了。

账号没有加到reboot群组里的 请随时联系我

actual_09_homework's People

Contributors

vincentjcui avatar jinnery avatar ryan2333 avatar arthaszyb avatar imsilence avatar lemon65535 avatar hjun881 avatar zuoyeliuxingyu avatar yangruiyou85 avatar nicksors avatar jiaozi07 avatar liubaobao886 avatar chris19890612 avatar jinggubang avatar simonsang avatar guoyf5 avatar huifeiji avatar lixu2016 avatar woniuppp avatar huaweichang avatar 782118373 avatar cclist1116 avatar shehuiwu avatar

Watchers

James Cloos avatar qi zhang 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.