GitHub Flow Flashcards
What are the basic 6 Steps in the GitHub workflow?
1.Create a new branch to implement the feature (or bugfix…).
2.Implement the code and add commits to the branch.
3.Push the code to the remote repository on GitHub.
4.Open a Pull Request on GitHub.
5.The code gets reviewed and discussed.
6.Merge the branch to the main branch (aka master).
What is a Pull Request?
A PR (=Pull Request) is a place where your team can review and discuss the code changes.
What does the command git branch
do ?
It creates a new branch.
What does the command git checkout
do?
It is used to change the branch.
What does the command git commit
do ?
It adds changes.
What does the command git pull
do ?
It syncs my local repository with the remote repository.
What does the command git push
do ?
It updates the remote repository.