EMERGING TRENDS IN SOFTWARE ENGINEERING
DEVOPS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
git push-am “Message”
|
|
git add
|
|
git commit add
|
|
git commit
|
Detailed explanation-1: -What is a shortcut to staging all the changes you have? git commit add .
Detailed explanation-2: -In technical terms, the staging area is the middle ground between what you have done to your files (also known as the working directory) and what you had last committed (the HEAD commit). As the name implies, the staging area gives you space to prepare (stage) the changes that will be reflected on the next commit.
Detailed explanation-3: -Enter git add–all at the command line prompt in your local project directory to add the files or changes to the repository. Enter git status to see the changes to be committed. Enter git commit-m ‘<commit message>’ at the command line to commit new files/changes to the local repository.