Git Basics
- How do you know if a certain directory is a git repository?
- What is the difference between git pull and git fetch?
- Explain what the file
gitignore
is used for?
- How to check if a file is tracked and if not, then track it?
- Explain what the file
gitignore
is used for?
- How can you see which changes have done before committing them?
- What
git status
does?
- You've created new files in your repository. How to make sure Git tracks them?
Scenarios
- What's is the branch strategy (flow) you know?
- How to resolve git merge conflicts?
- How do you discard local file changes? (before commit)
- What git diff does?