Right-click you project's folder. Click "
Git Bash here".
You are now using a Bash shell (Linux), on Windows. Pretty cool, eh?
Alright, back to the point!
To turn your project folder into a local git repository, simply type:
Now let's configure it. This is a one-time step.
Check the video below at 12:30.
git config --global user.name 'Your Name'
git config --global user.email '[email protected]'
Time to make our first backup, or in Git lingo terms, our first "
commit".
git status
git add *
git status
git commit -m 'Yay!! My first commit!!! Woohooo!'
git status
gitk
'Note: The commands "git status" and "gitk" are not really necessary, as they're for visualization purposes only.
Quick video tutorial (
skip to 7:22):