“Git erstellen” Code-Antworten

Richten Sie das Git -Repository ein

# 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

So initialisieren Sie eine Befehlszeile der Git -Repository

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

# New remote repository
git remote add origin [email protected]:username/new_repo #ssh
# Now push
git push -u origin master
Vivacious Vicuña

Neue Git

echo "# iT-Support" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/amanj8sdiq/iT-Support.git
git push -u origin main
Uninterested Unicorn

Git erstellen

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



//Config User with Cli
$ git config --global user.name ”yourgitusername”
$ git config --global user.email ”[email protected]"
WinMaw

Ähnliche Antworten wie “Git erstellen”

Fragen ähnlich wie “Git erstellen”

Weitere verwandte Antworten zu “Git erstellen” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen