目次

概要

Gitコマンドの覚書

参考

用語

repository

http://www.backlog.jp/git-guide/intro/intro1_2.html

local / remote

http://www.backlog.jp/git-guide/intro/intro1_3.html

bare / non-bare

http://www.nekotricolor.com/entry/theory-of-bare-and-non-bare-repository-manage-wordpress-themes-with-git

branch

http://www.backlog.jp/git-guide/stepup/stepup1_1.html

branch名

HEAD

現在使用しているbranchの先頭を表す名前

stash

ファイルの変更内容を一時的に記録しておく領域。

commit

ファイルやディレクトリの追加・変更を、Repositoryに記録する

編集/ステージ/コミットプロセス

ステージ

ステージング ステージされたスナップショット

branch

branch

branchする

checkout

checkoutする。

https://www.atlassian.com/ja/git/tutorial/git-branches#!checkout

merge

mergeする。

削除

Repository

clone

git clone は既存の git repositoryのclone (コピー) を作成する

https://www.atlassian.com/ja/git/tutorial/git-basics#!clone

repository間

git remote

https://www.atlassian.com/ja/git/tutorial/remote-repositories#!remote

git fetch

fetchする。

https://www.atlassian.com/ja/git/tutorial/remote-repositories#!fetch

git pull

pullする。

git push

pushする。

確認

branch

git branch

branchの確認

commit

git log

logの確認

git status

statusの確認

commitの操作

git commit

変更のcommit

git revert

commitのrevert

ステージング

git reset

https://www.atlassian.com/ja/git/tutorial/undoing-changes#!reset

git clean

https://www.atlassian.com/ja/git/tutorial/undoing-changes#!clean


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS