Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
This is the most import part of git, cause you do all things at Github is based on this toturial.
Okay, let’s begin ^_^.
First, assume that you’re working on your project and have some commits already.
You find out there is an issue on your project, so you create a branch and switch to it.
$ git checkout -b iss66
then you solve the bug and commite it.
$ git commit -m "fix [issue66]"
Final step, after you fixed the problem you want to
$ git checkout master # change HEAD back to master to do the merge
Here is the whole workflow :
$ git checkout -b "<branch name>" # create new branch and change HEAD to it
Good Job ^_^
YAAA, you are good to go!
There still have a lot to learn, this series of git tutorial is for the very beginner.
Hope you guys like it ~
Let’s go to the other git tutorial:
Prev - Git Basics