Version control system

when synchronizing , defold asks for username and password, what username and password i need to enter?

Hello @zayneddine!

What kind of prompt do you have? Can you add more information? Reproduction steps? A screenshot perhaps? What do you mean by “when synchronizing”? Defold does not synchronize anything automatically out of the box and does not contain any VCS. I can only guess you are talking about some other version control system you are using and it asks you about username and password, right? Most probably to your account, so we can’t tell what credentials you can use.

File → Synchronize


i cloned a project from my github and want to use the git inside defold(changed files section),if this doesnt work i will use fork or stick with git bash

1 Like

Oh, sorry, I didn’t know about it, since I’m using git externally for quite some time. It should have be just your git account credentials then (you do have an account on github, gitlab or bitbucket?). PAT can be generated on github, gitlab or bitbucket.

1 Like

Why git bash while you can use GitHub Desktop? Much more easier

idk man,does git have username and password like github? do both have a username and password or is it just github, i am confused xd

yes i will use fork , its like sourceTree etc, but its a good idea to start with git bash so i get a solid understanding of git commands,then when i use github desktop or whatever i will know what i am acutally doing when pressing buttons

Yes, yes, credentials to your git server (e.g. Github). Git itself is just a system.

then its not working, i enter my github username and password and it says its not correct , anyways , i will use git externally, xd no problem, thank you , thank you all

I’ve returned to a project I haven’t worked on in a few years and I’m seeing this same “Get Remote Changes” dialog. Entering my GitHub username and password doesn’t work, because there never was any remote version of the project on GitHub. All my changes are lost every time I reopen the project. How do I resolve this?

Welcome back!

Where do you have your project stored? On GitHub? Local drive folder?

Local drive folder.

Ah, ok, but the project exists as a checked out .git repository? The Get Remote Changes panel is expecting the project to have a remote origin set to GitHub or Bitbucket.

The config file in the .git directory lists http://cr.defold.se:9998/prjs/26746 as the repository.

Ah, this is the URL to the old Defold project hosting. It was shut down in September 2019:

I hope your local copy is up to date!

It took a while to migrate everything to GitHub, but now it seems to work. Thanks!

1 Like