[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More git workflow



On 15 April 2018 at 22:58, Sébastien Villemot wrote:
| On Sun, Apr 15, 2018 at 03:38:11PM -0500, Dirk Eddelbuettel wrote:
| > On 15 April 2018 at 22:25, Sébastien Villemot wrote:
| > | For importing an existing .dsc, you could do:
| > | 
| > |   gbp import-dsc --debian-branch=stretch ${DSC_FILE}
| > 
| > That is nice.  Can that also 'hook' the branch to a particular commit?
| 
| No. You have first to create the "stretch" branch by hand using regular git tools.
| Typically:
| 
|   git branch stretch ${TAG_OR_COMMIT_ID}

That once again makes perfect sense, thank you.

(My standard flow is 'git checkcout -b somebranch' which I presume can also
take a commit_id.)

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org


Reply to: