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

Pushing to a private gitlab repo #17

Open
axonasif opened this issue Jan 12, 2021 · 5 comments
Open

Pushing to a private gitlab repo #17

axonasif opened this issue Jan 12, 2021 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@axonasif
Copy link

Hi,
Can I use this to push a file to a private GitLab repo from one of my public GitHub repo?

@dmnemec
Copy link
Owner

dmnemec commented Mar 15, 2021

Never tried it. IIRC everything is based on git, so anything using git should work as expected. I'm working with GitLab now almost exclusively so I can see if that's possible maybe this week.

@dmnemec dmnemec added good first issue Good for newcomers question Further information is requested labels Mar 15, 2021
@dmnemec
Copy link
Owner

dmnemec commented Mar 15, 2021

After reviewing the code, it wouldn't be possible to push to GitLab right now. It should be a pretty easy change to make though. I'd start here and here if interested.

@dmnemec dmnemec added enhancement New feature or request and removed question Further information is requested labels Mar 15, 2021
@axonasif
Copy link
Author

After reviewing the code, it wouldn't be possible to push to GitLab right now. It should be a pretty easy change to make though. I'd start here and here if interested.

Makes sense, I'll give it a try soon.
Thanks.

@firasm
Copy link

firasm commented Jun 8, 2021

After reviewing the code, it wouldn't be possible to push to GitLab right now. It should be a pretty easy change to make though. I'd start here and here if interested.

Thanks for this! I was able to get this working for GitHub enterprise as well just by changing those two lines and using a PAT to login.

I suppose it would be good to have this configurable later via variables, but probably not worth the effort.

Great stuff.

@sta-szek
Copy link
Contributor

#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants