Git cheat sheet: Difference between revisions

Jump to navigation Jump to search
No edit summary
git checkout 作業ブランチ
git rebase master 作業ブランチ
</syntaxhighlight>
 
== 実用編 ==
commit コメントメッセージ間違ったので直前の commit 取り消したい
<syntaxhighlight lang="bash" enclose="div">
git reset --hard HEAD^
</syntaxhighlight>