What is the difference between git pull and git fetch?
Answer / Sachin Kumar Poswal
Both Git `pull` and `fetch` commands are used to update your local repository with changes from a remote repository. However, they have some differences:n- `fetch` only downloads the commits and updates the refs (branch pointers) in your local repository, but it doesn't merge the changes into your working directory or create new merge commits.n- `pull` fetches the changes as well but also merges them into your current branch and creates a new commit if necessary.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you use git bisect to determine the source of a (regression) bug?
In git, how would you return a commit that has just been pushed and made open?
What is git Is-tree?
Explain the gitflow workflow?
How will you know in git if a branch has already been merged into master?
How git instaweb is used?
What does commit object contain?
Explain git stash, pop?
What commands will you use to bring a new feature to the main branch?
What is ‘git status’ is used for?
What is a ‘conflict’ in git?
What is git bisect?