Subir archivos a GITHUB
Subir un archivo GITHUB
USUARIO : DEV-JC004
CONTRASEÑA : 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
tocar git init bash
1.git init
2.git status (esto son los archivos que
se van a subir)
3.git add .
4.git commit -m "Se agrega al proyecto"
5.git config --global user.email yqeuni@gmail.com
6.git config --global user.name JC-004
7.git config --global user.name JC-004
8. git branch -M main
9. copiar el texto "git remote add origin https://github.com/JC-004/Snake-Python.git"
10. git push -u origin main
ACTUALIZAR REPOSITORIO
1. git status (ver los cambios)
2. git add .
3. git commit -m "se agregan los cambios"
4. git push -u origin main
5. git log (ver las todas las modificaciones)
Comentarios
Publicar un comentario