如何Git

GitHub

GitHub Hello World https://guides.github.com/activities/hello-world/
You’ll learn how to:
—Create and use a repository
A repository is usually used to organize a single project.
—Start and manage a new branch
Branching is the way to work on different versions of a repository at one time.
—Make changes to a file and push them to GitHub as commits
On GitHub, saved changes are called commits.
—Open and merge a pull reques
Pull Requests are the heart of collaboration on GitHub. When you open a pull request, you’re proposing your changes and requesting that someone review and pull in your contribution and merge them into their branch. Pull requests show diffs, or differences, of the content from both branches.
在这里插入图片描述
GitHub上怎么修改别人的项目并提交给原作者 https://blog.csdn.net/qq_26787115/article/details/52133008

  1. fork
  2. git clone xxx
  3. 修改
  4. git add; git commit; git push
  5. Pull request
  6. Merge

Git

常用Git命令清单 http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html
在这里插入图片描述
几个专用名词的译名如下:
Workspace:工作区
Index/Stage:暂存区
Repository:仓库区(或本地仓库)
Remote:远程仓库

————————————————————————————————
git tutorial https://kezunlin.me/post/d29c6c94/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值