“Erro: o SRC RefSpec Master não corresponde a nenhum.” Respostas de código

Erro: o SRC RefSpec Master não corresponde a nenhum. 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

Erro: o SRC RefSpec Master não corresponde a nenhum.

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 não corresponde a nenhum

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

Erro: o SRC RefSpec Master não corresponde a nenhum.

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

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

Erro: o SRC RefSpec Master não corresponde a nenhum.

git push origin main
Sparkling Sable

Erro: o SRC RefSpec Master não corresponde a nenhum.

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

Respostas semelhantes a “Erro: o SRC RefSpec Master não corresponde a nenhum.”

Perguntas semelhantes a “Erro: o SRC RefSpec Master não corresponde a nenhum.”

Mais respostas relacionadas para “Erro: o SRC RefSpec Master não corresponde a nenhum.” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código