There are changesets to push. Error: Exception of type 'Codice.Foreign.ForeignSCMInvalidCredentialsException' was thrown.
cm sync simplephpskeleton@localhost:8087 git git://github.com/isidromerayo/simplephpskeleton.git
Error: The settings you've introduced don't match with the stored ones for branch/repo simplephpskeleton. Stored are: git https://github.com/isidromerayo/simple_php_skeleton.git
isidromerayo@nikki:~/projects/plasticscm$ cm sync main/simplephpskeleton@localhost:8087 git git://github.com/isidromerayo/simplephpskeleton.git
The specified repository couldn't be found: main/simplephpskeleton@localhost:8087.
isidromerayo@nikki:~/projects/plasticscm$ cm sync simplephpskeleton@localhost:8087 git git://github.com/isidromerayo/simplephpskeleton.git master
Error: The settings you've introduced don't match with the stored ones for branch/repo simplephpskeleton. Stored are: git https://github.com/isidromerayo/simple_php_skeleton.git
isidromerayo@nikki:~/projects/plasticscm$ cm sync simplephpskeleton@localhost:8087 git https://github.com/isidromerayo/simple_php_skeleton.git master
Error: The settings you've introduced don't match with the stored ones for branch/repo simplephpskeleton. Stored are: git https://github.com/isidromerayo/simple_php_skeleton.git
isidromerayo@nikki:~/projects/plasticscm$ cm sync simplephpskeleton@localhost:8087 git https://github.com/isidromerayo/simple_php_skeleton.git
Receiving references ...The branch 'master' has new local changes (a66725bf7ca843be2063e7bd8c0de2c4e30ed81e)
The branch 'gh-pages' is up to date (4523c8504eeaff52e1115207872af09098e05cb0)
The branch 'mockery' is up to date (ffb4115718507f0655fd413609873623b1c72f5f)
The branch 'phake' is up to date (b24777285c5a24bfa66e412992054e84dc2525d6)
The branch '/main/0.9_revision' has new local changes
Receiving references... OK
There are changesets to push
Error: Exception of type 'Codice.Foreign.ForeignSCMInvalidCredentialsException' was thrown.

I understand that this problem has being solved with the solution provided by the team.
-
Ruben de Alba commented
Hello Isidro,
The current version of the gitsync has an static mapping to one single repository, so, if you synchonize with https://github.com/user/repo, you always must use this URL.
On the other hand, the 'Codice.Foreign.ForeignSCMInvalidCredentialsException' happens because you don't provide an user/password for the authentication.
You can use the '--user=user' and '--pwd=password' parameters to set an specific authentication.
-
Isidro Merayo Castellano commented
My enviroment:
isidromerayo@nikki:~/projects/plasticscm$ cm version
4.2.27.373
isidromerayo@nikki:~/projects/plasticscm$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise