Undo gitflow

joostfontein November 17, 2013

I applied gitflow in sourcetree. However, I reconsidered my git structure and don't need that anymore. Not that it actually in the way, but still would like to undo the whole gitflow thing.

I did not create features or releases yet. I do have master and develop and want to keep them.

Could I just delete the gitflow entries in the config file in .git?

[gitflow "branch"]

master = master

develop = develop

[gitflow "prefix"]

feature = feature/

release = release/

hotfix = hotfix/

support = support/

versiontag =

1 answer

1 accepted

1 vote
Answer accepted
RicardoA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2013

The [gitflow ...] sections are only read by the gitflow special command. It is safe to remove them if you do not use the gitflow command anymore. Pure "Git" has no use for those sections.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events