Git Flashcards

1
Q

Merge conflicts

A

Unable to resolve differences when merging in GIT. Developer has to manually fix it

“What code should be implemented?”

HEAD (main branch)
======= (division)
feature branch (new code)

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

Git lifecycle

A

Untracked (local saves) → Staging (add) → Committed → Pushed

Untracked (local saves) → Staging (add) → Modified → Staging (add) → Committed →Pushed

Untracked (local saves) → Staging (add) → Unstaged (reset)

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

Repository

A

Central location for projects history using version control. Hosted locally or on platforms

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

GitHub actions

A

Developers can automate tasks thats triggered by specific events. CI/CD

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