# Git - Git flow assistance

3 messages from 2022-03-07 to 2022-03-08. Participants: Firas REGAYEG, rsbecker@nexbridge.com, Erik Cervin Edin.
Thread: https://gitlist.dev/t/57515

## Firas REGAYEG, 2022-03-07 13:16

Subject: Git - Git flow assistance
Message-ID: <DBAP191MB1308984738C90410C8B4C61782089@DBAP191MB1308.EURP191.PROD.OUTLOOK.COM>
URL: https://gitlist.dev/e/DBAP191MB1308984738C90410C8B4C61782089%40DBAP191MB1308.EURP191.PROD.OUTLOOK.COM

```
Hello Git !

I'm Git fan, I'm using it currently in my job. Git is awesome, I really like it.

I have an issue with git flow command and need some help please
My problem is: In my team we create branch names with a pattern: 

developer_identity/feature_or_bug /task_number-brief-description

Now when I'm using the command it asks me to enter feature branches prefix with a suggestion "feature/", is there a way to use variables in the name of branch? 

for example, a prefix like this one:

developer_unique_id/

=> We need to make a global variable as prefix in the branch name. 

If this isn't possible, is there another way to do something similar? 

Thanks in advance.

Kind regards.


```

## rsbecker@nexbridge.com, 2022-03-07 13:47

Subject: RE: Git - Git flow assistance
Message-ID: <07ce01d83229$e80e9f70$b82bde50$@nexbridge.com>
URL: https://gitlist.dev/e/07ce01d83229%24e80e9f70%24b82bde50%24%40nexbridge.com
In-Reply-To: <DBAP191MB1308984738C90410C8B4C61782089@DBAP191MB1308.EURP191.PROD.OUTLOOK.COM>

```
On March 7, 2022 8:16 AM, Firas REGAYEG wrote:
>I'm Git fan, I'm using it currently in my job. Git is awesome, I really
like it.
>
>I have an issue with git flow command and need some help please My problem
is:
>In my team we create branch names with a pattern:
>
>developer_identity/feature_or_bug /task_number-brief-description
>
>Now when I'm using the command it asks me to enter feature branches prefix
>with a suggestion "feature/", is there a way to use variables in the name
of
>branch?
>
>for example, a prefix like this one:
>
>developer_unique_id/
>
>=> We need to make a global variable as prefix in the branch name.
>
>If this isn't possible, is there another way to do something similar?

Is this being done in a git command directly or in some web UI (like
BitBucket)?
-Randall


```

## Erik Cervin Edin, 2022-03-08 16:35

Subject: Re: Git - Git flow assistance
Message-ID: <CA+JQ7M-V-Mv6ZQr102yke4Cmu48v8xcDkfb8d98-w=qhMTtVCw@mail.gmail.com>
URL: https://gitlist.dev/e/CA%2BJQ7M-V-Mv6ZQr102yke4Cmu48v8xcDkfb8d98-w%3DqhMTtVCw%40mail.gmail.com
In-Reply-To: <07ce01d83229$e80e9f70$b82bde50$@nexbridge.com>

```
Hi Firas,

> I have an issue with git flow command and need some help please
It sounds like you are looking for advice pertaining to git-flow,

As far as I recall, this unfortunately has nothing to do with the git
project and this may not be the ideal place to ask.
You may find more helpful advice by asking on Stackoverflow
https://stackoverflow.com/questions/tagged/git-flow

> Now when I'm using the command it asks me to enter feature branches prefix with a suggestion "feature/", is there a way to use variables in the name of the branch?
Haven't used git-flow but I think the point of the prefix is to be "fixed".
I understand your question to be making this vary depending on user.
My guess is this won't work with git-flow.

Taking a step back, this sounds like an XY problem.
Can you share more about how you'd like to use git and branches?

/Erik

```
