Gitlab with Godot

Godot Version

Godot 4.4

Question

Hi,

I’m developing apps on 2 laptops, depending where I am, and am using Gitlab for it, and uses it outside of Godot.

However, some of them are to export on Android. So far, I’ve been unable to connect Godot to my repo, which means I need to upload changes manually to my phone via AirDroid. This takes too much time and effort, slowing down projects.

(I can’t create apk on one of the laptop)

Any ideas or tuto to make it work?

Thanks

Why not GitHub? Why GitLab?

What are you doing? What git commands are you running? Godot doesn’t “connect” to git hosts on it’s own, are you using a plugin?

1 Like

Hi,

Thanks @SpikeTrapBoomStudios and @gertkeno.

I use GitLab through Framasoft, which I prefer to GitHub. However, if using GitHub would help in what I am trying to achieve, I might consider it.

On both my laptops, I am using git externally from Godot which works perfectly fine. On my work laptop, I can’t install any software, and can’t process resourceful programs, therefore, when I want to try my app on Android, I need to transfer the Godot project to my phone (to transfer files,
I am using AirDroid), and open it on Godot Mobile version, then export it as an apk, and install it from there.

What I would like to do is connect git on my phone (ideally via Godot) and just export the apk without having to transfer the files, which is time consuming.

Maybe I am doing it the wrong way.

Thanks for your help

Godot doesn’t have git built-in, and I don’t think you will find a plugin that integrates it and especially not for Android. I can’t find a Android app for git on it’s own, maybe using Syncthing would be better for you? You don’t have to “install” Godot in a traditional sense, it’s a portable executable when downloaded from the website, same if you only want to test your game on your work laptop, not an install just a download.

I use the godot-git-plugin. While I use it with GitHub, it might work with GitLab.

While this is a great plugin it only works on desktop platforms, and it doesn’t implement a standalone git client, it still requires git to be installed on the system along side it.

Thanks for all the answers, I tried the Git plugin a few weeks back, and as said it doesn’t work on Android, I couldn’t make it work with git lab either.

Never heard of Symcthing, will see if helps.

Same, I can’t find git for Amdroid, it is a mystery to me.

Thanks

GitHub Android app includes git binaries, you know what to do with ADB :wink:
Otherwise https://stackoverflow.com/questions/2701078/how-to-use-git-on-android

Just google or :duck: :duck: go Git Android binaries.
Might not be on the play store but you’re already sideband installing stuff

Plus, there are Git clients on Google Play Store…
I use GitHub on Android.

Thanks all for your input, I have started with Syncthing (thanks @gertkeno) and it is exactly what I needed. So thanks!

1 Like