Home > programming > git, mercurial, meld, and git-on-win32

git, mercurial, meld, and git-on-win32

January 11th, 2008

這篇內容滿雜的,所以才會有這麼亂的標題… :P

首先,前天打算把一個 mercurial repo 轉成 git repo,所以上 Google 拜了一下,在這裡找到工具。我是用 fast-export.git 轉,用起來很棒,完全無痛。

再來,原本在 hg 下面我都用 meld 來協助做 merge (只要將 HGMERGE 這個環境變數設成想用的工具即可),換了 git 呢? 答案在這裡,用 git-mergetool 並指定使用的工具。

最後,如果一起開發的同伴有人使用 windows,因為 git 以前沒有辦法在 win32 上面跑很很好,SCM 只能放棄用 git。不過,現在情況改觀了。MinGW port of GIT 將 git porting 到 win32 平台上(據說正在進行 merge 到 official git 中),而 Git on MSys 則提供了一個方便的安裝方式。有興趣的朋友可以試看看。

jesse programming , , , , , ,