GITメモ
gitで直前のコミットを取り消す。(git reset)
http://redtower.plala.jp/2010/09/30/git-git-reset.html
ブランチの名前を変更する
現在のブランチの名前を new-name にする「-m」オプションを使う。
git branch -m new-name old-name
ブランチを new-name ブランチに変更するには
git branch -m old-name new-name
gitで直前のコミットを取り消す。(git reset)
http://redtower.plala.jp/2010/09/30/git-git-reset.html
ブランチの名前を変更する
現在のブランチの名前を new-name にする「-m」オプションを使う。
git branch -m new-name old-name
ブランチを new-name ブランチに変更するには
git branch -m old-name new-name