S

Satya • 2.31K Points
Master

Q. Which of these commands is used to rename a Git branch?

  • (A) git change
  • (B) git rename
  • (C) git branch -m
  • (D) git name
  • Correct Answer - Option(C)
  • Views: 3
  • Filed under category GitHub
  • Hashtags:

Explanation by: Satya
'git branch -m oldname newname' renames a branch.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.