Xiiryo
Xiiryo

Reputation: 3257

Rename the develop branch with Gitflow into dev

We are used to have a development branch called dev, in Gitflow toolset it is called develop.

https://github.com/petervanderdoes/gitflow-avh

Is there a way to tell Gitflow that we want to use a branch called dev?

Thanks

Upvotes: 1

Views: 1112

Answers (1)

grg
grg

Reputation: 5819

  1. Rename the branch in Git

    git branch -m develop dev
    
  2. Update gitflow config

    git config gitflow.branch.develop dev
    

Upvotes: 4

Related Questions