{"thread":{"id":"28334","subject":"How to specify a default <start-point> for git branch","startedAt":"2011-09-08T08:00:21Z","lastAt":"2011-09-08T10:11:34Z","messageCount":2,"participants":["Lay, Stefan","Thomas Rast"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"175073","messageId":"D3AA6127B29A3048B2939A08CC561AF55EDD6CDD0E@DEWDFECCR01.wdf.sap.corp","threadId":"28334","inReplyTo":null,"subject":"How to specify a default <start-point> for git branch","fromName":"Lay, Stefan","fromEmail":"stefan.lay@sap.com","sentAt":"2011-09-08T08:00:21Z","receivedAt":"2011-09-08T08:00:21Z","isPatch":false,"sender":{"key":"stefan.lay@sap.com","avatar":null},"body":"Is it possible in git to configure a default <start-point> for the git-branch command?\n\nFor 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.\n\nFor 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.\n\nWhat do you think about such a property?\n"},{"id":"175084","messageId":"201109081211.34314.trast@student.ethz.ch","threadId":"28334","inReplyTo":"D3AA6127B29A3048B2939A08CC561AF55EDD6CDD0E@DEWDFECCR01.wdf.sap.corp","subject":"Re: How to specify a default <start-point> for git branch","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2011-09-08T10:11:34Z","receivedAt":"2011-09-08T10:11:34Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Lay, Stefan wrote:\n> Is it possible in git to configure a default <start-point> for the git-branch command?\n\nLiterally as you propose it's probably not going to happen.  It would\nbreak every script ever written that uses \"git branch <foo>\" to start\na new branch at the current commit.\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n"}]}