testing on self-hosted gitlab: cannot push to github? · Issue #2 · jimhester/test-glfs (original) (raw)
@jimhester thanks for this, looks really cool, just testing it out now on a self-hosted gitlab instance (https://gitlab.carlboettiger.info/cboettig/data).
For some reason, instead of getting prompted for my gitlab user name / password when I go to push to github, I'm just given the error:
$ git push --set-upstream origin master
Git LFS: (0 of 1 files) 0 B / 273.37 MB
batch response: Repository or object not found: https://gitlab.carlboettiger.info/cboettig/data/info/lfs/objects/batch
Check that it exists and that you have proper access to it
Any ideas? I think it should be prompting for a user/password for the the gitlab, but instead it seems to just try to push directly and fails.
AFIK lfs is working as expected on gitlab, and I can still git push gitlab master
just fine.
(Also, wasn't clear from the your directions or maybe I missed it: do you git commit
the .lfsconfig
file or .gitignore
it? (I'm guessing the latter, since I think committing it would break things for other users who might work on their own forks and who didn't have write access to the gitlab account? not quite clear how that works).