Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

I can not use Git Flow properly

i'm trying to use git-flow in my repository but when i initialize the git-flow with sourcetree the program make some weird because when i click on GitFlow button in the top, the sourcetree is taken the current branch as a feature don't matter if i have select master or develop anycurrent branch is taken as feature and ask my if i want to finish, i don't do any more that clone my repo and initialize then init git flow with default config all with sourcetree
i don't know why have this behavior

my config file:


[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = git@bitbucket.org:Goders/frontend.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature =
bugfix =
release =
hotfix =
support =
versiontag =
[gitflow "path"]
hooks = C:/Users/oamor/WebstormProjects/frontend/.git/hooks


 

image.png

1 answer

1 accepted

0 votes
Answer accepted
Mike Corsaro Atlassian Team Jul 15, 2019

Hello! Looks like the git-flow config isn't setup properly. Modify your config file under the "[gitflow "prefix"]" part to look like this:

 

[gitflow "prefix"]
feature = feature/
release = release/
hotfix = hotfix/
support = support/
versiontag =

本件、私も同じ状況になっています。

SourceTree は Version 3.2.6.3544

内蔵 Git は 2.21.0 です。

 

"[gitflow "prefix"]” を修正すれば良いのはわかりますが、なぜこのような状況になるのか、根本的に修正していただきたいです。

下記の画像をご覧ください。git-flow-init ファイルで正常動作する同僚からもらったものと比較したものです。

左側の -2017 になっている方が正常動作するもので、右側のものが初期化しても[gitflow "prefix"]の値が埋まらないものです。

これらを参考に、インストール直後から正常に使用できるものをご提供いただければ幸いです。

image.png

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,904 views 4 7
Read article

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