LoginSignup
0
2

GitLabでリモートブランチ名の変更【備忘録】

Posted at
  1. ローカル上で branch名変更する。
$ git branch -m <変更前のブランチ名> <変更後のブランチ名>

2. リモートの対象branchを削除する。

$ git push --delete origin <変更前のブランチ名>

3. 名称を変更したローカルbranchをプッシュする。

$ git push origin <変更後のブランチ名>
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2