service:git
差異處
這裏顯示兩個版本的差異處。
| 兩邊的前次修訂版前次修改 下次修改 | 前次修改 | ||
| service:git [2010/07/21 23:16] – wenpei | service:git [2016/04/21 17:59] (目前版本) – [Book] sars | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Git ====== | ====== Git ====== | ||
| - | http:// | + | ===== Book ===== |
| + | [[https:// | ||
| - | [[http:// | + | ===== Reference ===== |
| - | + | * http:// | |
| - | [[http:// | + | * https:// |
| - | + | * [[http:// | |
| - | Git - SVN Crash Course: http:// | + | |
| - | + | | |
| - | Why Git is Better than X: http:// | + | |
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| ===== 安裝 ===== | ===== 安裝 ===== | ||
| 行 21: | 行 26: | ||
| http:// | http:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[http:// | ||
| + | ===== 設定 ===== | ||
| + | git config --global user.name " | ||
| + | | ||
| + | git config --global user.email " | ||
| + | | ||
| + | ===== 建立新專案 ===== | ||
| + | cd project/ | ||
| + | | ||
| + | git init . | ||
| + | | ||
| + | git add . | ||
| + | | ||
| + | git commit -m "init commit" | ||
| + | | ||
| + | git log | ||
| + | | ||
| + | git show HEAD | ||
| + | | ||
| + | git blame | ||
| + | | ||
| + | git branch | ||
| + | | ||
| + | git checkout -b newbranch | ||
| + | | ||
| + | git checkout master && git merge newbranch | ||
| + | |||
| + | 遠端操作 | ||
| + | |||
| + | git clone git:// | ||
| + | | ||
| + | git push origin master | ||
| ===== codebase ===== | ===== codebase ===== | ||
| 行 30: | 行 70: | ||
| Mercurial is a free, distributed source control management tool. It efficiently handles projects of any size and offers an easy and intuitive interface. | Mercurial is a free, distributed source control management tool. It efficiently handles projects of any size and offers an easy and intuitive interface. | ||
| + | |||
| + | ====== Other ====== | ||
| + | Git User's Survey 2010 summary: https:// | ||
| + | |||
service/git.1279725372.txt.gz · 上一次變更: 由 wenpei
