![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
qdujunjie
这个作者很懒,什么都没留下…
展开
-
fork的项目如何与原项目保持同步?
fork 过来就是你的本地项目了 可以添加源地址,然后fetch ,pull到本地 git remote add source http://github.com/xx/xxxx git fetch source git pull source master转载 2014-12-23 11:07:32 · 2166 阅读 · 0 评论 -
osx中没有gitk?
你的osx中没有gitk?看了下git版本:andy@AndyMacBookPro:~$ git --versiongit version 1.9.5 (Apple Git-50.3)可以使用brew重新安装git:首先升级brew:brew update然后安装git:andy@AndyMacBookPro:/usr/local/webdata/chrome_ext/fanlihelper$ b原创 2015-10-19 13:55:12 · 2736 阅读 · 0 评论 -
git使用
gitadd. git add . git commit -m ‘jia commit’ gitremoteaddhwgit@github.com:516inc/2016OlympicsiOS.git git remote add hw git@github.com:516inc/2016Olympics_iOS.git git push hw master原创 2015-07-06 15:48:24 · 496 阅读 · 0 评论 -
关于git checkout版本
andy@AndyMacBookPro:/usr/local/webdata/andy/js/jquery$ git checkout 1.8.3Note: checking out '1.8.3'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, an原创 2015-04-20 10:42:22 · 5555 阅读 · 0 评论 -
git上手教程
发现一篇很好的git上手教程:http://www.bootcss.com/p/git-guide/转载 2015-03-11 15:32:49 · 528 阅读 · 0 评论 -
30天精通git
https://github.com/doggy8088/Learn-Git-in-30-days原创 2015-03-17 10:43:40 · 1009 阅读 · 0 评论 -
git remote
查看自己的git到底是从哪里过来的: git remote -v原创 2015-02-12 14:15:41 · 494 阅读 · 0 评论 -
Git 分支管理详解
from : http://www.topthink.com/topic/727.html大纲:1.前言2.创建分支3.切换分支4.合并分支(快速合并)5.删除分支6.分支合并冲突7.合并分支(普通合并)8.分支管理策略9.团队多人开发协作10.总结注,测试机 CentO转载 2014-12-23 11:25:19 · 805 阅读 · 0 评论 -
Git 怎样保证fork出来的project和原project(上游项目)同步更新
from : http://www.tuicool.com/articles/Mnmmqyi问题描述: 当我们 在github上fork出一个项目后,如果原有的项目更新了,怎样保持我们fork出来的项目和原有项目保持同步呢并提交我们的代码更新呢?即怎样保持fork出的项目和上游项目保持更新,怎样创建pull request?关键步骤是使用git 的 rebase 命令。转载 2014-12-23 11:22:08 · 4397 阅读 · 0 评论 -
git如何merge github forked repository里的代码更新?
from : http://www.haojii.com/2011/08/how-to-git-merge-from-forked-repository/问题是这样的,github里有个项目ruby-gmail,我需要从fork自同一个项目的另一个repository拿一些Bug Fix的代码link1:https://github.com/dcparker/rub转载 2014-12-23 11:18:54 · 852 阅读 · 0 评论 -
你的osx中没有gitk?
你的osx中没有gitk?一句话:你的git版本太低了,gitk是跟随git一起安装的。解决办法:重新使用brew安装git就好了。先看下git版本:andy@AndyMacBookPro:~$ git –version git version 1.9.5 (Apple Git-50.3) 1 2 可以使用brew重新安装git:首先升级brew:brew update然后安装git:and原创 2015-10-19 14:14:11 · 9694 阅读 · 1 评论