Tech
17/10
17/10
TOP - Foundation: 89%
Revisiting Rock Paper Scissors
Today I learned about git branch, git checkout and git merge.
Very useful, probably will use these commands often.
git branch - git branch branch_name : create a new branch ( point to the current commit ), doesn't move you to that branch. Once you switch to that branch, you can commit on it and don't have to worry about affecting main branch.
git checkout - git checkout branch_name: switch to that branch, the files in your wo...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to