Skip to content

Instantly share code, notes, and snippets.

KARTHICK KUMAR B karthickkumar00

Block or report user

Report or block karthickkumar00

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@karthickkumar00
karthickkumar00 / gist:49cdce7fb64f7d9dea88f590fec8ab4c
Created Oct 21, 2017 — forked from lttlrck/gist:9628955
rename git branch locally and remotely
View gist:49cdce7fb64f7d9dea88f590fec8ab4c
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
You can’t perform that action at this time.