Commit 7923009
committed
repo: Upgrade: use branch or commit
While doing newt upgrade the script tries to checkout
to 'master' while there is 'main' instead. Now it is possible
to use the 'branch: 'main'' in repository.yml file,
and it doesn't only allow to fetch properly, but also to checkout.
example from repository.yml:
repository.xyz:
type: git
vers: 0.0.0
branch: 'main'
url: '[email protected]:xyz.git'1 parent 2c82e98 commit 7923009
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
326 | 330 | | |
327 | 331 | | |
328 | 332 | | |
| |||
0 commit comments