I have imported my svn repository to git. My current branch for development is branch1 and I would like to rename the one in master. Can I remove current master branch(with very old info) painless and create a new remote branch from branch1 with name master?
Thanks in advance!
If you no longer need the information in
master, you could easily get rid of it:Once
masteris gone, you could renamebranch1to be the newmaster:If you are a bit uncertain whether you might need the information held in
masterone day, you could achieve this by renamingmastertoold_masterbefore renamingbranch1tomaster: