Git Interview Questions
- What is git and what are the most useful commands ?
- Why git is most popular ?
- Explain the difference between 'git pull' and 'git fetch' ?
- What command is used in git to change your working branch ?
- What is the difference between git and GitHub ?
- How do you rename a branch in Git ?
- Describe the purpose and functionality of the '.gitignore' file ?
- What things to be considered while reviewing a pull request ?
- What is the purpose of the 'git stash' command ?
- How do you resolve a merge conflict in Git ?
- What is the difference between Git's "merge" and "rebase" operations ?
- How do you remove a file from a Git repository ?
- How do you undo the last Git commit ?
- How do you view the Git commit history ?
- What is tagging in git ?
- What is rollback in git ?
- What is git bisect command ?
- What is the use of Reflog in git ?
- How does Git handle file conflicts when merging branches ?
- What are Git hooks, and how can they be used in a repository ?
- Explain the concept of "cherry picking" in Git and how it can be done ?
Source:- Git Interview Questions
For more questions and answers visit our website at frontend interview questions
Comments
Post a Comment