Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing on self-hosted gitlab: cannot push to github? #2

Open
cboettig opened this issue Dec 28, 2017 · 0 comments
Open

testing on self-hosted gitlab: cannot push to github? #2

cboettig opened this issue Dec 28, 2017 · 0 comments

Comments

@cboettig
Copy link

cboettig commented Dec 28, 2017

@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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant