#pragma section-numbers off
[[TableOfContents]]

= 概要 =

= 公式サイト =
http://git-scm.com/

= 関連サイト =
 * ["ghq"]
 * http://progit.org/
 * http://snipurl.com/progit-pdf-ja


= インストール =
http://code.google.com/p/git-osx-installer/

= 設定 =
{{{
$ git config --global user.name 'your name'
$ git config --global user.email you@example.com
}}}

~/.gitconfig

{{{
[user]
  name = your name
  email = you@example.com
}}}

設定の確認

{{{
git config --global --list
}}}

= 利用方法 =

= git tag =

タグ一覧
{{{
git tag
}}}

タグ詳細
{{{
git show タグ名
}}}


現在の場所にタグ付与
{{{
git tag -a タグ名 -m 'タグコメント'
}}}

後から付与する場合
{{{
git tag -a タグ名 -m 'タグコメント' コミット名やbranch名
}}}

タグのpush
{{{
git push origin タグ名
}}}

= submodule =

== 追加 ==

{{{
git submodule add https:...(等)
}}}

== 削除 ==
追加したsubmoduleを削除する場合

{{{
git submodule deinit -f <submodule>
git rm -f <submodule>
rm -rf .git/modules/<submodule>
}}}

= コマンド追加 =
 * [https://github.com/ddollar/git-utils GitHub - ddollar/git-utils]
 * [https://github.com/jwiegley/git-scripts GitHub - jwiegley/git-scripts]

== gitflow ==
 * [https://github.com/nvie/gitflow gitflow]:本家git flow は2012年9月移行メンテされていない
 * [https://github.com/github-flow/github-flow github-flow]


 * [https://github.com/petervanderdoes/gitflow-avh gitflow-avh]:git flow フォーク版
 * [https://github.com/SakuraCredit/gitflow GitHub - SakuraCredit/gitflow: HubFlow: A Git extension to make it easy to use GitFlow with GitHub. Based on the original gitflow extension for git.]

= プラグイン =
 * [http://labs.gree.jp/blog/2011/05/3528/ Git で日々の共同作業やリリース作業をサポートする git-daily を作りました | GREE Engineers' Blog]
 * [https://github.com/sotarok/git-daily sotarok/git-daily · GitHub]

= クライアントツール =
== CUI ==
 * [https://github.com/jonas/tig GitHub - jonas/tig: Text-mode interface for git]

== Emacs ==
 * [http://qiita.com/takc923/items/c7a11ff30caedc4c5ba7 EmacsのGitクライアント:Magit - Qiita]


== WEBツール ==
 * [https://github.com/nakamuray/blikit nakamuray/blikit · GitHub]


= 参考サイト =
[http://marklodato.github.com/visual-git-guide/ A Visual Git Reference]

[http://blog.asial.co.jp/676 Subversionのリポジトリ下でgitを使ってみよう : アシアルブログ]

----
CategoryProgramingTools