Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

GitFlow - Enable - Branches already exist

We are looking to use GitFlow on our project where we already have a master, and a develop (but right now develop is a folder that contains feature/hotfix branches in it).  If we enable GitFlow, will it leave the master and create the correct develop?  Or will it wipe out our current master?

2 answers

1 accepted

0 votes
Answer accepted

So the plugin really requires you to already have a master and develop branch.  So if I did not have a develop branch or I had a develop/sample branch, it would fail because it didn't exist or because I couldn't create and lock develop if a develop/sample branch existed.  The way I resolved this is by either ensuring I had develop and master when creating a new repo, or I renamed what I considered was my develop branch to the name develop.  Once I did this, and then initialized the repository for the Git-flow feature.  Of course, after the fact, you can modify the .git/config settings for the directories that Git-flow is configured against.

0 votes
Hana Kučerová Community Leader Nov 12, 2020

Hi @Jay Blanton ,

I'm not sure what you mean by "folder that contains branches in it". I don't think it will do any damage, but I think the safest way is to do the fresh local clone of your remote repository and test it on this copy. Then you will be sure :-).

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,230 views 19 18
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you