Open dnkennedy opened 2 years ago
what publish section -- reference? may be you missed configure
and -s
? look at usage error gave you -- it is there to help!
datalad siblings configure -s github --publish-depends github-lfs
reopening to get the correction into the instructions...
This is still a 'problem'. Currently, the instructions work, but the GitHub repo get's left with the git-annex branch being the default, so that the user has to manually reset that to 'master' being the default, or else datalad install doesn't work correctly.
@yarikoptic questioned the datalad version (mine is 0.16.2) (or blamed me for using a mac...), but I'm still awaiting a resolution as to how to get this to work completely correctly...
@dnkennedy this sounds like a git/github default branch issue.
Any new DataLad dataset configured with master
instead of main
as the default branch will get git-annex
configured to be the default displayed branch when it is pushed to GitHub. See this FAQ for more information. This can be prevented by:
main
as the default branch by changing your global git config:
git config --global init.defaultBranch main
FWIW, submitted a potential fix to this mess (never enough tests, isn't it!!!?) https://github.com/datalad/datalad/pull/6750
In the publish section we are told to run:
I get the following error:
I think this step was updated by @jsheunis ; any ideas what I'm missing?