Workflow Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Someone has pointed out a typo in your work. What’s the best way to resolve it?

A
  • just fix the typo in master, as it’s a really simple fix
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You’re reviewing a branch that a coworker has worked on (having pulled it from a remote repository) when you notice a problem with their work. It seems simple enough to fix; how do you handle it?

A
  • fix the bug, commit your change, and push your change back up to the remote so your coworker can see it
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You’re tasked with adding a new feature to your project. You’ve got a plan for how you want to attack it - what’s your first step before you start working?

A
  • create a new branch named after the feature to work in
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You’re knee-deep in a major change to your project and you are struck with sudden inspiration - maybe there’s a better way to do this. You want to experiment with this new idea - how should you proceed?

A
  • create a new branch based off of master and start again with this new idea
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You’re in the middle of a major change to your project, which is a website that’s currently live with hundreds of users. You and your team are using the “master” branch as the version that’s currently live on the site. When one of your users reports a bug with the site, what do you do?

A
  • check out the master branch and try to reproduce the problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly