Answers for "rename commit pushed"

1

rename a commit pushed

git commit --amend -m "Your new message here"
Posted by: Guest on June-28-2021
0

rename a branch alredy pushed

#checkout to the branch
git checkout old_branch_name

#in the same branch run the command
git branch -m new_branch_name
Posted by: Guest on February-11-2021

Code answers related to "rename commit pushed"

Browse Popular Code Answers by Language