Comment puis-je renommer un local Git branch?

Je ne veux pas renommer une branche distante, comme décrit dans Renommer branche master pour à la fois locaux et distants dépôts Git.

Comment puis-je renommer une section locale qui n'a pas été poussé à une branche distante?

Dans le cas où vous avez besoin de renommer distance branche ainsi:

Comment puis-je renommer à la fois un Git local et distant nom de la branche

InformationsquelleAutor Forrest | 2011-07-06