Takuya Miyashita
This site
Web
Start:
*Gitのインストールと初期設定 [#i10acd91]
以下の処理はリポジトリとは関係なく,terminalのどの場所で...
**インストール [#ze4ea98d]
***ソースからビルド [#z7ee0d77]
Ubuntuの場合は[[Gitのインストール>Ubuntu/Install_Git]]に...
***バイナリで [#t16c643d]
最新バージョンを求めないのであれば,apt install でも可.
#codeprettify{{
sudo apt install git
}}
**初期設定 [#cbd7c205]
#codeprettify{{
git config --global user.name "Name hoge"
git config --global user.email "hoge@example.com"
git config --global color.ui auto #出力の色の指定(...
git config --global core.quotepath false #日本語名のつい...
git config --global core.editor vim #commitするとき...
git config --global push.default matching
}}
上記の設定は,以下の2つのどちらかを行うことで確認できる.
#codeprettify{{
git config --global --list
}}
#codeprettify{{
git config -l
}}
**その他 [#f9100066]
よく使う長めのコマンドは bashrc でエイリアスにでもしてお...
#codeprettify{{
git diff HEAD --name-only
}}
#codeprettify{{
git log -n 10 --oneline -decorate --all
}}
などは alias xx='command' としておくと楽.
End:
*Gitのインストールと初期設定 [#i10acd91]
以下の処理はリポジトリとは関係なく,terminalのどの場所で...
**インストール [#ze4ea98d]
***ソースからビルド [#z7ee0d77]
Ubuntuの場合は[[Gitのインストール>Ubuntu/Install_Git]]に...
***バイナリで [#t16c643d]
最新バージョンを求めないのであれば,apt install でも可.
#codeprettify{{
sudo apt install git
}}
**初期設定 [#cbd7c205]
#codeprettify{{
git config --global user.name "Name hoge"
git config --global user.email "hoge@example.com"
git config --global color.ui auto #出力の色の指定(...
git config --global core.quotepath false #日本語名のつい...
git config --global core.editor vim #commitするとき...
git config --global push.default matching
}}
上記の設定は,以下の2つのどちらかを行うことで確認できる.
#codeprettify{{
git config --global --list
}}
#codeprettify{{
git config -l
}}
**その他 [#f9100066]
よく使う長めのコマンドは bashrc でエイリアスにでもしてお...
#codeprettify{{
git diff HEAD --name-only
}}
#codeprettify{{
git log -n 10 --oneline -decorate --all
}}
などは alias xx='command' としておくと楽.
Page:
Edit with a page name which already exists