“Git Agregar Commit en un comando” Código de respuesta

git add commit push one command

# The following command does not add new files, only updated pre-existing ones.
git commit -am "commit all the things" && git push
Precious Panda

Git Agregar Commit en un comando

git commit -am "message"
Marjo

Git Commit y agregue un comando

// first define a new alias for the commands:
git config --global alias.add-commit '!git add -A && git commit'

// and then use it by typing in the message:
git add-commit -m 'My commit message'

//Credit for the original post on stackoverflow.
|_Genos_|

git agregar, cometer y presionar en un comando

git config --global alias.cmp '!f() { git add -A && git commit -m "$@" && git push; }; f'
Blyxyas

Git agregar y comprometerse en un comando

git config --global alias.add-commit '!git add -A && git commit'
Annoying Albatross

Respuestas similares a “Git Agregar Commit en un comando”

Preguntas similares a “Git Agregar Commit en un comando”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código