“Cómo agregar código a git” Código de respuesta

Configurar el repositorio de 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

Cómo inicializar una línea de comandos de repositorio de git

# 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

Cómo agregar código a git

Git add .

Git status
Energetic Echidna

Respuestas similares a “Cómo agregar código a git”

Preguntas similares a “Cómo agregar código a git”

Más respuestas relacionadas con “Cómo agregar código a git” en Shell/Bash

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código