Git

gitでよく使うコマンド

More than 1 year has passed since last update.

git reset

git reset --soft HEAD^
git reset origin/master --soft
git reset origin/master --hard

git diff

git diff origin/master --name-only
git diff origin/master --name-status

git log

git log --oneline