2011-06-15 64 views
1

我在github有主存儲庫。我創建了一個叉子。我創建了一個分支並做了一些更改,並在github上進行了提交/推送。現在我需要合併主存儲庫和我的分支。我該如何合併兩者。我創建了主要存儲的克隆。當我嘗試做github合併起源和主存儲庫

的git拉出身BRANCHNAME

我得到

0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487 

AllocationBase 0x9A0000,BaseAddress 0x9E0000,RegionSize 0x140000,國家爲0x2000

C:\ Program Files文件(x86)的\ Git \ bin \ sh.exe:*無法爲cygwin的h保留空間 eap,Win32錯誤0

請建議我如何合併兩者?

+0

不知道如果我完全理解:你能夠主分支拉到你的本地磁盤?但是當你試圖拉另一個分支時,你的git客戶端會因爲你發佈的錯誤而失敗? – mkro 2011-06-15 20:43:03

+1

這不應該發生。其他Git操作是否會發生同樣的錯誤? [其他MSYS命令](http://code.google.com/p/msysgit/issues/detail?id=176)? – 2011-06-15 20:43:13

回答

0

我覺得工作流程是這樣的:

git clone http://remote rep here 
... Do work ... 
git branch temp 
git checkout temp 
git pull http://remote rep here 
git checkout master 
git merge temp