Avant d’exécuter un git push, il est recommandé de vérifier que le dépôt local est bien relié au dépôt distant souhaité. TL;DR Commande Description git remote -v Affiche les dépôts distants configurés git branch Affiche la branche active git branch -vv Affiche la branche distante associée git status Affiche l’état du dépôt local git push --dry-run Simule un envoi vers le dépôt distant git remote set-url origin <url> Remplace l’URL du dépôt distant origin git remote add <
[ ARTICLES CRÉÉS EN 2026 ]
[ ARTICLES CRÉÉS EN 2025 ]
A simple and quick command to use Git installed on a company server. In this example, the Git server is accessible at https://my-git.my.company.org and the working directory is located on the development server DEV-SRV-0033. Create a repository on Git serverCreate your repository on https://my-git.my.company.org/For example in https://my-git.my.company.org/fallout/vault-tec Clone the directory on your work serverConnect to DEV-SRV-0033 and go to your development server and your home directory: [