2012-12-27 81 views
2

我已經從git(dannycoates/v8-profiler)克隆了一些存儲庫,並且在安裝時存在鏈接錯誤。我看到有人提交了一個假設修復這個bug的pull請求。 現在我想嘗試將此修復程序放入我的私有本地回購庫中,並且想知道要使用哪個命令。 拉入請求的標題是:git合併拉請求到私人存儲庫

piaohai wants to merge 38 commits into dannycoates:master from piaohai:3.6.2 

我可以使用git拉在這種情況下?我應該如何使用它?

感謝, 李

回答

1

克隆,其中拉入請求存在,取它們的分支機構,確保你對他們指定的請求(在這種情況下,主設備)在同一分支回購,合併他們的變化。

git remote add piaohai git://github.com/piaohai/v8-profiler.git 
git fetch piaohai 
git checkout master 
git merge piaohai/3.6.2