Google Code使用Git
喔喔,真的是比想像中的簡單喔,當然第一步就是先把專案clone下來
git clone https://XX@code.google.com/p/project然後編輯完之後呢,要建立~/.netrc檔案,裏頭的內容大概如下
machine code.google.com login USERNAME password XXXXXXXXX這部分內容其實你進去https://code.google.com/hosting/settings這個網址之後他就會告訴你。剛開始我push一直失敗,說我使用者名稱跟密碼錯誤,後來發現我的使用者名稱要把@gmail.com拿掉就ok了,但是其實我也不知道為什麼,因為網頁上面告訴我的是USERNAME@gmail.com,不過呢不管他,反正我現在也可以用git使用Google Code的空間。
最後呢就直接這樣下
git push origin master完成,我想我可以開始把一些文件放到這裡來了。
About Me
- Unknown
Category List
- aircraft (1)
- Android (1)
- aviation (3)
- aws (1)
- biology (1)
- blogger (1)
- c++ (1)
- css (1)
- DBIx::Class (1)
- ds (1)
- english (6)
- git (1)
- google code (1)
- java (1)
- joe (1)
- json (1)
- language (1)
- livereload (1)
- math (1)
- mojolicious (1)
- murmur (1)
- neo4j (2)
- pdb (1)
- perl (10)
- personal (9)
- running (11)
- stock (1)
- sublime2 (2)
- swimming (1)
- talk (2)
- TheSchwartz (1)
- unicode (1)
- utf8 (1)
- web_design (1)
- work (1)
Followers
Total Pageviews
Labels
- aircraft (1)
- Android (1)
- aviation (3)
- aws (1)
- biology (1)
- blogger (1)
- c++ (1)
- css (1)
- DBIx::Class (1)
- ds (1)
- english (6)
- git (1)
- google code (1)
- java (1)
- joe (1)
- json (1)
- language (1)
- livereload (1)
- math (1)
- mojolicious (1)
- murmur (1)
- neo4j (2)
- pdb (1)
- perl (10)
- personal (9)
- running (11)
- stock (1)
- sublime2 (2)
- swimming (1)
- talk (2)
- TheSchwartz (1)
- unicode (1)
- utf8 (1)
- web_design (1)
- work (1)