The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

I can not use Git Flow properly

Alejandro Mora
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2019

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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 =
akira.kawasaki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2020

ęœ¬ä»¶ć€ē§ć‚‚åŒć˜ēŠ¶ę³ć«ćŖć£ć¦ć„ć¾ć™ć€‚

SourceTree は Version 3.2.6.3544

内蔵 Git は 2.21.0 恧恙怂

 

"[gitflow "prefix"]ā€ ć‚’äæ®ę­£ć™ć‚Œć°č‰Æć„ć®ćÆć‚ć‹ć‚Šć¾ć™ćŒć€ćŖćœć“ć®ć‚ˆć†ćŖēŠ¶ę³ć«ćŖć‚‹ć®ć‹ć€ę ¹ęœ¬ēš„ć«äæ®ę­£ć—ć¦ć„ćŸć ććŸć„ć§ć™ć€‚

äø‹čØ˜ć®ē”»åƒć‚’ć”č¦§ćć ć•ć„ć€‚git-flow-init ćƒ•ć‚”ć‚¤ćƒ«ć§ę­£åøøå‹•ä½œć™ć‚‹åŒåƒšć‹ć‚‰ć‚‚ć‚‰ć£ćŸć‚‚ć®ćØęÆ”č¼ƒć—ćŸć‚‚ć®ć§ć™ć€‚

左偓の -2017 ć«ćŖć£ć¦ć„ć‚‹ę–¹ćŒę­£åøøå‹•ä½œć™ć‚‹ć‚‚ć®ć§ć€å³å“ć®ć‚‚ć®ćŒåˆęœŸåŒ–ć—ć¦ć‚‚[gitflow "prefix"]ć®å€¤ćŒåŸ‹ć¾ć‚‰ćŖć„ć‚‚ć®ć§ć™ć€‚

ć“ć‚Œć‚‰ć‚’å‚č€ƒć«ć€ć‚¤ćƒ³ć‚¹ćƒˆćƒ¼ćƒ«ē›“å¾Œć‹ć‚‰ę­£åøøć«ä½æē”Øć§ćć‚‹ć‚‚ć®ć‚’ć”ęä¾›ć„ćŸć ć‘ć‚Œć°å¹øć„ć§ć™ć€‚

image.png

TAGS
AUG Leaders

Atlassian Community Events