Skip to content
irxground edited this page Nov 14, 2012 · 5 revisions

push

[push]
    default = upstream

でカレントブランチのみpush

pull

git pull --rebase

により、pullしたときにmergeされない。

[branch "master"]
    rebase = true

とすることでオプションをつけなくても自動的にrebaseされる

log

git log --oneline

で一行表示

Clone this wiki locally