当前位置: 首页 > news >正文

成都建站模板网站开发河南项目备案信息网

成都建站模板网站开发,河南项目备案信息网,上海备案证查询网站,wordpress免费商城模板下载初次在 GitHub 建立仓库以及公开代码的流程 - 公开代码 References 在已有仓库中添加代码并公开。 git clone 已有仓库 将已有仓库 clone 到本地的开发环境中。 strongforeverstrong:~$ mkdir github_work strongforeverstrong:~$ cd github_work/ strongforeverstrong:~/git… 初次在 GitHub 建立仓库以及公开代码的流程 - 公开代码 References 在已有仓库中添加代码并公开。 git clone 已有仓库 将已有仓库 clone 到本地的开发环境中。 strongforeverstrong:~$ mkdir github_work strongforeverstrong:~$ cd github_work/ strongforeverstrong:~/github_work$ ll total 8 drwxrwxr-x 2 strong strong 4096 Dec 17 14:03 ./ drwxr-xr-x 44 strong strong 4096 Dec 17 14:03 ../ strongforeverstrong:~/github_work$ git clone https://github.com/ForeverStrongCheng/Hello-World.git Cloning into Hello-World... remote: Counting objects: 4, done. remote: Compressing objects: 100% (3/3), done. Unpacking objects: 100% (4/4), done. remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0 Checking connectivity... done. strongforeverstrong:~/github_work$ ll total 12 drwxrwxr-x 3 strong strong 4096 Dec 17 14:04 ./ drwxr-xr-x 44 strong strong 4096 Dec 17 14:03 ../ drwxrwxr-x 3 strong strong 4096 Dec 17 14:04 Hello-World/ strongforeverstrong:~/github_work$ cd Hello-World/ strongforeverstrong:~/github_work/Hello-World$ ll total 20 drwxrwxr-x 3 strong strong 4096 Dec 17 14:04 ./ drwxrwxr-x 3 strong strong 4096 Dec 17 14:04 ../ drwxrwxr-x 8 strong strong 4096 Dec 17 14:04 .git/ -rw-rw-r-- 1 strong strong 272 Dec 17 14:04 .gitignore -rw-rw-r-- 1 strong strong 13 Dec 17 14:04 README.md strongforeverstrong:~/github_work/Hello-World$ strongforeverstrong:~/github_work/Hello-World$ git status On branch master Your branch is up-to-date with origin/master. nothing to commit, working directory clean strongforeverstrong:~/github_work/Hello-World$ 将想要公开的代码提交至这个仓库再 push 到 GitHub 的仓库中代码便会被公开。 编写代码 由于 Hello_World.py 还没有添加至 Git 仓库所以显示为 untracked files。 strongforeverstrong:~/github_work/Hello-World$ git status On branch master Your branch is up-to-date with origin/master. Untracked files:(use git add file... to include in what will be committed)Hello_World.pyimage_data/nothing added to commit but untracked files present (use git add to track) strongforeverstrong:~/github_work/Hello-World$ 提交 将 Hello_World.py 提交至仓库。这样一来这个文件就进入了版本管理系统的管理之下。今后的更改管理都交由 Git 进行。 strongforeverstrong:~/github_work/Hello-World$ git add . strongforeverstrong:~/github_work/Hello-World$ git status On branch master Your branch is up-to-date with origin/master. Changes to be committed:(use git reset HEAD file... to unstage)new file: Hello_World.pynew file: image_data/lena.jpgstrongforeverstrong:~/github_work/Hello-World$ strongforeverstrong:~/github_work/Hello-World$ git commit -m Add Hello World script by Python [master a984390] Add Hello World script by Python2 files changed, 21 insertions()create mode 100644 Hello_World.pycreate mode 100644 image_data/lena.jpg strongforeverstrong:~/github_work/Hello-World$ 通过 git add 命令将文件加入暂存区再通过 git commit 命令提交。 添加成功后可以通过 git log 命令查看提交日志输入 q 退出 git log 状态。 strongforeverstrong:~/github_work/Hello-World$ git log commit a984390cb3c6b756842675b0cd13f00a6c428e6b Author: chengyq116 chengyq116163.com Date: Sun Dec 17 15:23:42 2017 0800Add Hello World script by Pythoncommit 8054468596d91cfedab242b08b3fa111d8d68aac Author: Yongqiang Cheng chengyq116163.com Date: Sun Dec 17 13:17:11 2017 0800Initial commit strongforeverstrong:~/github_work/Hello-World$ strongforeverstrong:~/github_work/Hello-World$ git status On branch master Your branch is ahead of origin/master by 1 commit.(use git push to publish your local commits) nothing to commit, working directory clean strongforeverstrong:~/github_work/Hello-World$ 进行 push 执行 push GitHub 上的仓库就会被更新代码就在 GitHub 上公开了。 strongforeverstrong:~/github_work/Hello-World$ git push warning: push.default is unset; its implicit value has changed in Git 2.0 from matching to simple. To squelch this message and maintain the traditional behavior, use:git config --global push.default matchingTo squelch this message and adopt the new behavior now, use:git config --global push.default simpleWhen push.default is set to matching, git will push local branches to the remote branches that already exist with the same name.Since Git 2.0, Git defaults to the more conservative simple behavior, which only pushes the current branch to the corresponding remote branch that git pull uses to update the current branch.See git help config and search for push.default for further information. (the simple mode was introduced in Git 1.7.11. Use the similar mode current instead of simple if you sometimes use older versions of Git)Username for https://github.com: chengyq116163.com Password for https://chengyq116163.comgithub.com: Counting objects: 5, done. Delta compression using up to 8 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (5/5), 90.25 KiB | 0 bytes/s, done. Total 5 (delta 0), reused 0 (delta 0) To https://github.com/ForeverStrongCheng/Hello-World.git8054468..a984390 master - master strongforeverstrong:~/github_work/Hello-World$ git status On branch master Your branch is up-to-date with origin/master. nothing to commit, working directory clean strongforeverstrong:~/github_work/Hello-World$ References [1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/ [2] (日) 大塚弘记 著, 支鹏浩, 刘斌 译. GitHub入门与实践[M]. 北京:人民邮电出版社, 2015. 1-255 [3] 初次在 GitHub 建立仓库以及公开代码的流程 - 建立仓库, https://yongqiang.blog.csdn.net/article/details/137360191
http://www.w-s-a.com/news/386414/

相关文章:

  • 怎样做电子商务网站织梦生成手机网站
  • 公司网站建设选什么服务器网站里怎样添加关键词
  • 深圳建设局网站深业中城绿化项目营销型网站开发流程包括
  • 找销售的网站九江市建设项目服务中心
  • 东原ARC网站建设公司合肥seo网站推广外包
  • 那个网站是做房产中介的网站制作软件小学
  • 做网页怎么建站点视频解析网站
  • 做网站的系统设计网站设计论文前言
  • 做外贸网站多久更新汕头市建设局网站首页
  • 如何建设专业化的网站手机管理网站模板
  • 花生壳做网站如何用腾讯云做网站
  • 搭建集团网站开发app需要哪些软件
  • 网站建设 中企动力福州阀门wordpress 多说评论
  • php网站集成支付宝接口下载免费网络软件
  • 卡盟网站是怎么建设的用花生壳做网站速度可以吗
  • 杭州物联网前十名公司优秀seo平台
  • 网新中英企业网站管理系统wordpress 登录 缓存
  • wordpress模板建站教程wordpress添加广告位手机自适应
  • h5游戏平台入口优化是什么梗
  • 建设银行对公网站打不开网络推广活动方案主题和思路
  • 茶叶网站开发目的和意义网页设计需要考什么证
  • 高端企业网站建设公司怎么做实用性建设网站都需要哪些
  • 网站备案必须要幕布吗易企秀网站怎么做轮播图
  • 南昌网站排名优化四线城市网站建设方向及营利点
  • 做网站需要钱吗unity 做网站
  • 呼伦贝尔市规划建设局网站wordpress怎么考别人的
  • 免备案自助建站网站成都神速建站
  • 怎样编写app软件快速刷排名seo软件
  • 江苏做家纺的公司网站宣传型企业网站
  • 网站网上商城建设外国一些做环保袋的网站