Skip to content

Instantly share code, notes, and snippets.

View karthickkumar00's full-sized avatar
🎯
Focusing

KARTHICK KUMAR B karthickkumar00

🎯
Focusing
View GitHub Profile
@karthickkumar00
karthickkumar00 / gist:49cdce7fb64f7d9dea88f590fec8ab4c
Created October 21, 2017 04:12 — forked from lttlrck/gist:9628955
rename git branch locally and remotely
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