“Créer Git Repo” Réponses codées

Configurer le référentiel GIT

# New local repository
git init
git add .
git commit -m "Initial commit"

# New remote repository
# Create remote repository (likely on github), then:
git remote add origin https://github.com/username/new_repo #https
git remote add origin [email protected]:username/new_repo #ssh
# Now push
git push -u origin master
Caleb McNevin

Git New Repo Instructions

git init
git add . //this is what works . means current dir
git commit -m "init"
git branch -M main
git remote add origin <git-repo-link>
git push -u origin main
Zion

git init repo

git init
git add somefile
git commit -m "initial commit"
git remote add origin https://github.com/username/new_repo
git push -u origin master 
Attractive Albatross

Ajouter le repo github

create a new repository on the command line
echo "# {Repo Name}" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/cdcdianne/ReactJS-TheMovieDB.git
git push -u origin main
                
push an existing repository from the command line
git remote add origin https://github.com/cdcdianne/ReactJS-TheMovieDB.git
git branch -M main
git push -u origin main
Dayanaohhnana

git initialiser le référentiel

echo "# covid19-tracker-app" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/shubhamghimire/covid19-tracker-app.git
git push -u origin main
Cloudy Cottonmouth

Créer Git Repo

echo "# MachineLearning" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/ruChikati/MachineLearning.git
git push -u origin main
NoneOne_

Réponses similaires à “Créer Git Repo”

Questions similaires à “Créer Git Repo”

Plus de réponses similaires à “Créer Git Repo” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code