Comments (6)
延伸阅读:
- GitHub Guides
- GitHub Help
- 知乎:怎样使用 GitHub?
- 知乎:GitHub 入门方法有哪些?
- 知乎:如何看待 Github Gist这个服务,怎样更好的利用?
- 在 GitHub 上贡献开源项目的一般步骤
- How to completely remove an issue from GitHub?
- 如何评价用 Github issue 写博客?
- Connecting to GitHub with SSH
- GitHub & Bitbucket & GitLab & Coding 的对比分析
- Github 的替代产品有哪些?
- [git 进阶] 同一电脑同时配置 github 和 gitlab
- Git,Github和Gitlab简介和基本使用
- GitHub 项目徽章的添加和设置
from eureka.
Github issue template
- 什么是 issue template
- 为什么要添加 issue template
- 如何添加 issue template
- 如何写 issue template
延伸阅读:
from eureka.
GitHub 是如何统计 contributions 的?
延伸阅读:
from eureka.
GitHub 项目如何创建 tag?
查看 tag:
$ git tag
创建 tag
$ git tag
对某次 commit 打 tag
$ git tag v1.0.0 your_commit_id
创建带有说明的 tag
$ git tag -a v1.0.0 -m "Release version 1.0.0"
查看 tag 信息
$ git show v1.0.0
删除本地仓库 tag
$ git tag -d v1.0.0
推送本地 tag 到远程
$ git push origin v1.0.0
删除远程仓库 tag
$ git push origin --delete v1.0.0
延伸阅读:
from eureka.
如何在github上下载单个文件夹?
-
将要下载的目录的地址中的
/tree/master/
换成/trunk/
-
svn checkout <下载地址>
from eureka.
Github 上怎样把新 commits 使用在自己的 fork 上?
方式一: 命令行操作
1、配置上游项目地址。即将你 fork 的项目的地址给配置到自己的项目上。比如我 fork 了一个项目,原项目是 wabish/fork-demo.git,我的项目就是 cobish/fork-demo.git。使用以下命令来配置。
➜ git remote add upstream https://github.com/wabish/fork-demo.git
然后可以查看一下配置状况,很好,上游项目的地址已经被加进来了。
➜ git remote -v
origin [email protected]:cobish/fork-demo.git (fetch)
origin [email protected]:cobish/fork-demo.git (push)
upstream https://github.com/wabish/fork-demo.git (fetch)
upstream https://github.com/wabish/fork-demo.git (push)
2、获取上游项目更新。使用 fetch 命令更新,fetch 后会被存储在一个本地分支 upstream/master 上。
➜ git fetch upstream
3、合并到本地分支。切换到 master 分支,合并 upstream/master 分支。
➜ git merge upstream/master
4、提交推送。根据自己情况提交推送自己项目的代码。
➜ git push origin master
由于项目已经配置了上游项目的地址,所以如果 fork 的项目再次更新,重复步骤 2、3、4即可。
方式二:直接在 GitHub 官网上操作
-
进入你 fork 过来的项目主页,也就是属于你自己的那个 repo。
-
点击 compare 按钮。
-
切换要创建 pull request 的分支,实际上也就是说,由 upstream 分支向你的分支提 pull request。
-
提交 pull request。
-
merge pull request
from eureka.
Related Issues (20)
- 请教关于用 issue 写博客 HOT 3
- 我的原则
- 生活原则 HOT 3
- 工作原则 HOT 3
- 产品/设计/运营
- 学习原则 HOT 1
- 苹果设备的性能检测和保养 HOT 2
- 我是如何学英语的
- 如何应对程序崩溃问题,以及提高程序的可靠性?
- 2018 年前四个月都干了啥?
- 下班后的时间(晚上和周末)应该怎么过? HOT 5
- 心理学 HOT 1
- 如何才能招到牛逼的工程师? HOT 1
- 弯腰搬重物时要注意什么?
- 投资理财 HOT 1
- 2018 年上半年总结 HOT 1
- 租房指南 HOT 1
- 每周读点英文技术文章 HOT 3
- hello issue
- 再见 2018,你好 2019
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eureka.