Monday, October 5, 2009

Rename current branch in Git


# Accidentally created branch with name "1234"
git checkout -b 1234

# Renames current branch to "1234-feature-admin_looks_good"
git branch -m 1234-feature-admin_looks_good

No comments:

Blog Archive