• Home
  • Git
  • Branch rename/umbenennen

Branch rename/umbenennen

linkaiyi
Follow

To rename the current branch
git branch -m

To rename a branch while pointed to any branch
git branch -m

To push the local branch und reset the upstream branch
git push origin -u

To delete the remote branch(old)
git push origin —delete

To create a git rename alias
git config —global alias.rename ‘branch -m’

Object has 0 attachments

Was this article helpful?

This article is viewed 65 times!

Recent Viewed Articles

0 Comments

Leave a Comment

Support