Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
Suggest the git configured default branch during init
Merged stemporus opened 1 year ago
stemporus opened with revision 058586b3 on base f13afe49 +18 -7 1 year ago
stemporus pushed revision 2 ae07ea9f on base f13afe49 +15 -7 0 years ago
stemporus pushed revision 3 590514ab on base 41f9048d +15 -7 11 months ago

Rebase on top of master

stemporus pushed revision 4 576cf8d5 on base 41f9048d +16 -8 11 months ago

Update rad_init_no_git test to updated error message

fintohaps pushed revision 5 c25494d1 on base c205322c +73 -8 11 months ago

cli: improve default branch pick

When using rad init the default branch for the project can be predetermined by inspecting the working copy repository.

To improve the experience, it will first check init.defaultBranch in the Git configuration file.

If it does not find this, it falls back to choosing the default head of the repository at the time. This may be HEAD, and in this case it will error and provide helpful information.

The repository may also not have any default head at the time, and this also results in an error and hint.

fintohaps pushed revision 6 e0a3ea55 on base db3b3b05 +73 -8 9 months ago

Rebased

fintohaps pushed revision 7 8c3f3432 on base 7c4b71ab +73 -8 9 months ago

Rebase

did:key:z6MkgFq6...nBGz pushed revision 8 b77cee39 on base db3b3b05 +112 -9 9 months ago

Added a CLI that covers detached HEAD.

fintohaps pushed revision 9 e103320e on base 85ddcace +116 -9 9 months ago

Changes:

  • Rebased
  • Modified wording of tests
fintohaps merged revision e103320e at 37ea8176 9 months ago