“Git add, comprometa e empurre um comando” Respostas de código

git add commitê push um comando

# 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 compromete e adicione um 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 add, comprometa e empurre um comando

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

Respostas semelhantes a “Git add, comprometa e empurre um comando”

Perguntas semelhantes a “Git add, comprometa e empurre um comando”

Procure respostas de código populares por idioma

Procurar outros idiomas de código