目次

概要

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する

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

checkout

checkoutする。

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

merge

branchの統合

削除

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する。

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

git push

pushする。

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

確認

branch

git branch

branchの確認

log

git log

logの確認

commitの操作

git commit

変更のcommit

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

git revert

commitのrevert

https://www.atlassian.com/ja/git/tutorial/undoing-changes#!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