When you fork GitHub repository, you usually want to have your fork up to date with the original repository.
You can update your fork in a few easy steps. Just look at the following example of the Git commands:
1234567891011121314151617181920 |
# Original post: http://stackoverflow.com/a/7244456
# Add the remote, call it "upstream":
git remote add upstream https://github.com/whoever/whatever.git
# Fetch all the branches of that remote into remote-tracking branches,
# such as upstream/master:
git fetch upstream
# Make sure that you're on your master branch:
git checkout master
# Rewrite your master branch so that any commits of yours that
# aren't already in upstream/master are replayed on top of that
# other branch:
git rebase upstream/master
|
Original StackOverflow post with this solution can be found here: http://stackoverflow.com/a/7244456.
相关推荐
GitHub Repository卡片生成器
自动将存储库大小添加到...##现在支持目录大小##通过Github令牌支持私有存储库请按照以下说明在私有存储库上启用此扩展:https://github.com/harshjv/github-repo-size#private-repository有关更多详细信息,请访问...
然后: $ git clone https://github.com/BaseMax/GitHub-Repository-Export-List/$ cd GitHub-Repository-Export-List$ python export.py > output.html 您可以在观看/查看在output.html中生成的示例HTML。...
Raiden-简单的GitHub Repository Cleaner 说明文件: Raiden是一个简单的GitHub Repository Cleaner 按名称或创建时间清除旧发行版 清理旧树枝 清理旧的请求 安装 $ go get github.com/suusan2go/raiden 用法 ...
GitHubRepository
储存库GitHub Repository API的V包装器
<github>安装如果需要,可使用Polyfill标签。 这将包括ShadowDOM和自定义元素支持。 [removed][removed]加载此组件。 使用特定版本而不是latest版本是一个好主意。 [removed]</
Github的共享库提供了一个灵活的方式来分享Github的存储库轻松Twitter,HackerNews,Reddit等。 这个扩展允许你分享任何Github存储库到社交媒体。 它只在资源库主页上添加共享按钮,以免突兀。只需点击一下鼠标就...
GithubWebhooker这是由Kinosang's Labs开发的Python(Web.py)项目本项目可以在您更新Github Repository时对您的程式进行自动部署Branch: Stable是该项目的稳定版(通过了较长时间的检验)。 Master是该项目的一般版...
ProftaakPinkRoccade:第2学期的Github Repository voor onze proftaak
github.repository (当前存储库) event-type (必需)自定义的Webhook事件名称。 client-payload JSON有效负载,其中包含有关您的操作或工作流可能使用的webhook事件的额外信息。 {} token 此操作将创建...
语言:English ... ##现在支持目录大小 ##通过Github令牌支持私人存储库 按照以下说明在私人存储库上启用此扩展:https://github.com/harshjv/github-repo-size#private-repository 有关更多详细信息,请访问...
语言:English 在用户的GitHub存储库列表中显示徽章。 徽章是通过一些简单的...如果存在此扩展程序未检测到的标志,请随时在此处创建问题或请求请求:https://github.com/dword-design/github-repository-list-badges
用法 module " main_with_pages " { source = " hadenlabs/repository/github " version = " 0.7.2 " providers = { github = github } name = " repository-example-with-key " description = " github repository ...
用于在github用户及其存储库上快速导航的扩展 创建此扩展是为了查找并打开GitHub存储库。 它使用GitHub API获取有关用户的信息。 支持语言:English
GitHub存储库 第一个GitHub存储库
存储库配置包括标签受保护的分支合并策略公开程度(私人或公开) 主题存储库元数据(描述,主页等)安装$ go get github.com/shotat/ghrc环境变量GHRC_GITHUB_TOKEN (必填) 您的GitHub API令牌repo范围是必需的...
为了解决这个问题,我使用Selenium编写了一个python脚本来浏览GitHub页面,以为您创建和初始化一个新的Repository。 先决条件: Selenium要安装: pip install selenium Chrome浏览器ChromeSelenium驱动程序要安装...
显示任何GitHub存储库的顶级PR创建者和受让者。 这是一个很小的扩展,它以小记分板的形式显示了每个开放源代码存储库中有关“拉取请求”数量的一些统计信息。 如果您要在设置中配置令牌,它也可以用于私有存储库。 ...