Answers for "what is add and commit in git"

0

git add git commit

git add .
git commit -m "intial commit"
git push
npm run deploy
Posted by: Guest on August-05-2021
2

git commit and add in one command

// 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.
Posted by: Guest on February-18-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language