xorpaul / g10k

my r10k fork in Go
Apache License 2.0
127 stars 51 forks source link

Clone a branch or commit hash from config #161

Open jjspark opened 4 years ago

jjspark commented 4 years ago

Allows cloning a branch or commit hash when configuring repos in config.yml

xorpaul commented 4 years ago

Thanks for the pull request.

So you want to specify a specific branch as the source git repository. I presume the -branch parameter while executing g10k is not enough for this and you want to hard-code it in the g10k config?

Hard-coding a specific commit hash via ref: does make sense.