“Erreur: le maître SRC RefSpec ne correspond à aucun.” Réponses codées

Erreur: le maître SRC RefSpec ne correspond à aucun. git

# You are trying to add an empty repository, add something first, like a readme
touch README.md
git add README.md
git commit -m "Initial commit"
git push --set-upstream origin master
Vast Vicuña

Erreur: le maître SRC RefSpec ne correspond à aucun.

git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin "_git repository link here_"
git push -u origin main
Super Sable

SRC RefSpec Main ne correspond à aucun

git init

git add .

git commit -m "YOUR FIRST MESSAGE HERE"

git branch -M main

git remote add origin _GIT_LINK_TO_PROJECT_HERE_

git push -u origin main
Frantic Ferret

Erreur: le maître SRC RefSpec ne correspond à aucun.

git config --global user.email "[email protected]"

git config --global user.name "Your Name"
Xerothermic Xenomorph

Erreur: le maître SRC RefSpec ne correspond à aucun.

git push origin main
Sparkling Sable

Erreur: le maître SRC RefSpec ne correspond à aucun.

git init
git add . //to add everything
git commit -m ''
git remote -v
git push heroku master
Xerothermic Xenomorph

Réponses similaires à “Erreur: le maître SRC RefSpec ne correspond à aucun.”

Questions similaires à “Erreur: le maître SRC RefSpec ne correspond à aucun.”

Plus de réponses similaires à “Erreur: le maître SRC RefSpec ne correspond à aucun.” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code