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)
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)
3
Q
Repository
A
Central location for projects history using version control. Hosted locally or on platforms
4
Q
GitHub actions
A
Developers can automate tasks thats triggered by specific events. CI/CD