“Cómo cometer un archivo específico en GIT” Código de respuesta

Cómo cometer un archivo específico en GIT

if you are in the current directory, add ./ to the front of the path;

git commit -m 'my notes' ./path/to/my/file.ext
git commit -o path/to/myfile -m "the message"
armin

Git Commit Comité un solo archivo

git commit -m 'my notes' path/to/my/file.ext
Fair Fly

git confirmar archivos específicos

//add that specific file
 git add "File name"
//Committing file wiht message
git commit -m "Message of the commit"
Bhaskar Pathak

Git Commit Ejecutando un archivo

git update-index --assume-unchanged "main/dontcheckmein.txt"

/*and to undo that*/
git update-index --no-assume-unchanged "main/dontcheckmein.txt"

Respuestas similares a “Cómo cometer un archivo específico en GIT”

Preguntas similares a “Cómo cometer un archivo específico en GIT”

Más respuestas relacionadas con “Cómo cometer un archivo específico en GIT” en Shell/Bash

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código