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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you squash already pushed commits?

A
  1. Use interactive rebase to squash commits locally
  2. Force push the squashed commit to remote
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which branching workflows for Git do you know?

A
  1. Git Flow
  2. GitHub Flow
  3. GitLab Flow
  4. Trunk-Based Development
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you use the version control system?

A
  1. Initialize a Repository
  2. Check Status
  3. Stage Changes
  4. Commit Changes
  5. Push Changes
  6. Pull Changes
  7. Branching
  8. Merging
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What version control system providers did you work with?

A
  1. GitHub
  2. GitLab
  3. Bitbucket
  4. Azure DevOps Repos
  5. AWS CodeCommit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly