Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 541 Bytes

File metadata and controls

12 lines (10 loc) · 541 Bytes

Common Interview Questions

Here are some common Git-related questions you might be asked in a technical interview:

  • What is the difference between git merge and git rebase?
  • What is a detached HEAD?
  • What is the difference between git pull and git fetch?
  • What is git cherry-pick?
  • How would you resolve a merge conflict?
  • What is the purpose of .gitignore?
  • What is the difference between git reset --soft, git reset --mixed, and git reset --hard?
  • How do you squash multiple commits into one?