# How to specify a default <start-point> for git branch

2 messages from 2011-09-08 to 2011-09-08. Participants: Lay, Stefan, Thomas Rast.
Thread: https://gitlist.dev/t/28334

## Lay, Stefan, 2011-09-08 08:00

Subject: How to specify a default <start-point> for git branch
Message-ID: <D3AA6127B29A3048B2939A08CC561AF55EDD6CDD0E@DEWDFECCR01.wdf.sap.corp>
URL: https://gitlist.dev/e/D3AA6127B29A3048B2939A08CC561AF55EDD6CDD0E%40DEWDFECCR01.wdf.sap.corp

```
Is it possible in git to configure a default <start-point> for the git-branch command?

For some workflows it could be useful to define e.g. a remote-tracking branch as the default <start-point> for new branches. Then there would be a tracking configuration for each created branch and tools like ALM tools could easily determine the remote repository.

For EGit-/JGit-development there is a proposal in Gerrit to add a new config parameter workflow.defaultsourceref (http://egit.eclipse.org/r/#change,4168). I suggested to use workflow.branchstartpoint instead.

What do you think about such a property?

```

## Thomas Rast, 2011-09-08 10:11

Subject: Re: How to specify a default <start-point> for git branch
Message-ID: <201109081211.34314.trast@student.ethz.ch>
URL: https://gitlist.dev/e/201109081211.34314.trast%40student.ethz.ch
In-Reply-To: <D3AA6127B29A3048B2939A08CC561AF55EDD6CDD0E@DEWDFECCR01.wdf.sap.corp>

```
Lay, Stefan wrote:
> Is it possible in git to configure a default <start-point> for the git-branch command?

Literally as you propose it's probably not going to happen.  It would
break every script ever written that uses "git branch <foo>" to start
a new branch at the current commit.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

```
