EMERGING TRENDS IN SOFTWARE ENGINEERING
DEVOPS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
git push
|
|
git pull
|
|
git merge
|
|
git fetch
|
Detailed explanation-1: -The git pull command is used to fetch and download content from a remote repository and immediately update the local repository to match that content.
Detailed explanation-2: -Fetching changes from a remote repository Use git fetch to retrieve new work done by other people. Fetching from a repository grabs all the new remote-tracking branches and tags without merging those changes into your own branches. Otherwise, you can always add a new remote and then fetch.
Detailed explanation-3: -Using git pull Use git pull to update a local repository from the corresponding remote repository. Ex: While working locally on master, execute git pull to update the local copy of master and update the other remote tracking branches.