Git cloning question

Hi,

It is my understanding that Backendless’s Git integration would use this form to clone:

git clone http://username:password@git.backendless.com/<your application id>/.git

Git supports an alternate form that I think in this case would look like:

git clone http://username@git.backendless.com/<your application id>/.git

where it prompts for the password (and we’d prefer to use this form if we can).

When a developer logs in as a developer he or she would login with an email address and a password something like this:

email: username@useremaildomain.com
pass: password

The problem arises that “username” in the email address doesn’t seem to be the “username” for the Git repo on Backendless (it woudn’t be unique most likely either) and it’s not clear how the full email address could be supplied as the “username” in the “git clone” operation.

So how should one clone the Backendless Git repo if one needs to supply username/password credentials at the time one is issuing the “git clone” command.

Thanks.

Hello, Rick!

Backendless git integration feature doesn’t support formats of “git clone” commands that you’ve described.
When git support is enabled, repository would be available at “https://git.backendless.com//.git”.
In order to clone it you should use command “git clone https://git.backendless.com//.git”. After that you’ll be prompted for developers’ username and password, where “username” means developers email.
More about working with git in Backendless you can read here: http://backendless.com/documentation/files/rest/files_git_integration.htm

best regards,
Alex Navara