GitHub
wudixiaotie
这个作者很懒,什么都没留下…
展开
-
Update your fork version from base version
git remote git remote add upstream git://github.com/diaspora/diaspora.git git checkout develop git pull upstream develop git rebase develop git push origin develop原创 2014-02-14 14:24:09 · 77 阅读 · 0 评论 -
git从一台电脑的本地分支clone
git clone [email protected]:/var/www/fuckyou 如果提示: ssh: connect to host 192.168.1.151 port 22: Connection refused 则要开启目标机器的openssh server sudo apt-get install openssh-server 然后ps -ef | grep sshd...2015-03-18 10:50:51 · 140 阅读 · 0 评论 -
给git remote添加ssh的节点
git remote add origin ssh://[email protected]:3000/home/www/foo/原创 2015-03-25 16:22:05 · 277 阅读 · 0 评论 -
Ubuntu 给GitHub和Heroku配置ssh
1.生成本地新的ssh公钥: ssh-keygen -t rsa -C "[email protected]" 然后不断回车,千万别设置密码短语,我吃过亏,设了也忘了,完全没意义,忘了就要重新生成ssh。 2.向github中新建你的ssh公钥: 登录github,点击个人设置=》ssh=》Add SSH Key =》填写Title 然后把~/.ssh/id_rsa.pub...2014-04-25 16:59:00 · 382 阅读 · 0 评论 -
git的命令备忘
1.clone a branch from git origin: git clone -b develop [email protected]:project 2.create a new feature branch from this branch git checkout -b feature-001 develop (从develop分支切出一个名为feature-001的分支,并...2015-08-24 17:11:20 · 71 阅读 · 0 评论