Version Control Systems Flashcards
(6 cards)
1
Q
What is the difference between Git’s “push” and “pull” requests?
A
git push: Upload your changes to remote
git pull: Download and merge remote changes
2
Q
What is the difference between Rebase and Merge in Git?
A
Rebase:
1. Rewrites branch commits on top of base, linear history
2. Results in a cleaner, linear history
3. Rewrites history, risky if shared
3
Q
How do you squash already pushed commits?
A
- Use interactive rebase to squash commits locally
- Force push the squashed commit to remote
4
Q
Which branching workflows for Git do you know?
A
- Git Flow
- GitHub Flow
- GitLab Flow
- Trunk-Based Development
5
Q
How do you use the version control system?
A
- Initialize a Repository
- Check Status
- Stage Changes
- Commit Changes
- Push Changes
- Pull Changes
- Branching
- Merging
6
Q
What version control system providers did you work with?
A
- GitHub
- GitLab
- Bitbucket
- Azure DevOps Repos
- AWS CodeCommit