最終更新:2017-08-28 (月) 14:48:14 (2441d)
Git/用語
https://www.kernel.org/pub/software/scm/git/docs/gitglossary.html
Git/リポジトリ
- A collection of refs together with an object database containing all objects which are reachable from the refs, possibly accompanied by meta data from one or more porcelains.
操作
origin
- The default upstream repository.
- リモートリポジトリ?の場所の別名
master
- The default development branch
Git/チェックアウト
- 作業ツリーを特定の時点のリポジトリに合わせること
- The action of updating all or part of the working tree with a tree object or blob from the object database, and updating the index and HEAD if the whole working tree has been pointed at a new branch.
Git/ワーキングツリー?
- The tree of actual checked out files.
インデックス
- コミットするためのファイルの状態
- git addで追加
HEAD
- 最新のコミットの状態
派生
- HEAD^やHEAD~{n}?の代わりにコミットのハッシュ値を書いても良い
- Git 1.8.5?からは、HEADのエイリアスとして「@」が用意されている。
- HEAD^^^?とHEAD~3?とHEAD~~~?とHEAD~{3}?と@^^^?は同じ意味。
操作
- コミット
- プッシュ