Cloner le depot source¶
git clone https://github.com/pluginsGLPI/fields -b 1.13.1
Creer la nouvelle branche GIT¶
git switch -c main
Changer son UPSTREAM¶
git remote set-url origin git@github.com:minzords/itsm-plugin_fields.git
Resultat¶
[florianb@ITSM-NG fields]$ git remote -v
origin git@github.com:minzords/itsm-plugin_fields.git (fetch)
origin git@github.com:minzords/itsm-plugin_fields.git (push)
Envoyer la branche sur le depot GIT distant¶
git push --set-upstream origin main