Repositories
Here you can find the guidelines to manage the repositories.
Azure Devops
https://dev.azure.com/cegid
And on the sidebar, go to iberia.retail
SSH key
Add your public ssh key
at
User settings Keys
Composer
Generate a read token at
https://dev.azure.com/cegid/_usersSettings/tokens
Setup global composer with
composer config -g http-basic.dev.azure.com mail@cegid.com tokenlecturagenerat
Copied!
Migrate existing repositories
If you have a repository still pointing to github or bitbucket, you can change the remote with the following command:
git remote set-url origin git@ssh.dev.azure.com:v3/cegid/iberia.retail/repo-que-toqui
Copied!
Make sure to use the
ssh
remote url instead of the https
one or it will ask for a password you probably don't know.
Autopush
Git by default comes with the autopush disabled. If you want to enable it by default:
git config --global --add --bool push.autoSetupRemote true
Copied!