2015年5月19日 星期二

Git 使用多個 repository

以建立 GitHub Pages 為例
複製 GitHub 上建立的 repo
$ git clone git@github.com:enhao/enhao.github.io.git cheatsheet
$ cd cheatsheet
增加和更新 Lanyon 的 repository
$ git remote add lanyon git@github.com:poole/lanyon.git
$ git remote update
$ git branch -a
* master
  remotes/lanyon/gh-pages
  remotes/lanyon/master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
合併 Lanyon 的 repo 到 master
$ git checkout master
$ git merge remotes/lanyon/master
上傳到 GitHub Pages 的 repo
$ git push origin master
上傳到增加的 repo
$ git push lanyon master
參考

2 則留言:

  1. Casino queen of spades card | Casino Kingdom Japan
    This is the most recent Royal Flush 다파벳 Royale bk8 card, and the second to be released in the the クイーンカジノ Queen of Spades card. Play Now.

    回覆刪除
  2. Sometimes persons are determined to get despatched to therapy, which Brown can usually do inside 24 hours or so. Sometimes callers aren't gamblers themselves however are nervous a few friend or loved one who may need a problem. Data 점보카지노 collected by CCPG shows that the common downside gambler immediately impacts nine different folks. GambleAware provide gamers and their households advice and steering on playing. They provide data and advice to encourage accountable playing, both to gamers and on line casino operators, and provides assist to those who may need a playing downside. Casino.org is the world’s leading impartial online gaming authority, providing trusted online on line casino news, guides, evaluations and information since 1995.

    回覆刪除