Aprende algo nuevo. Configurar tu terminal para abrir el git commit con “Sublime Text”
Git Bash: Terminal que utiliza windows
- Asegúrate de a ver agregado todos los archivos de tu proyecto al Working Staging Comando git add nombre del archivo o git add -A agrega todos los archivos. Si no te falta algún archivo. Te mostrara lo siguiente.
JB@JB-PC MINGW64 ~/Proyectos/invie (master)
$ git commit
On branch master
Untracked files:
img/acustica.jpg
img/clasica.jpg
img/footer.jpg
nothing added to commit but untracked files present
- Este comando te ayudara a configurar Sublime Text
JB@JB-PC MINGW64 ~/Proyectos/invie (master)
$ git config --global core.editor "'c:/program files/sublime text 3/subl.exe' -w"
- Ejecuta el comando git commit
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Changes to be committed:
# new file: img/acustica.jpg
# new file: img/clasica.jpg
# new file: img/footer.jpg
#
Curso profesional de Git y GitHub 2017
0 Comentarios
para escribir tu comentario