Sunday, September 6, 2015

Things to do after installing Git

Typically the tutorial starts with teaching these commands:

git init 
git add
git status
git commit
git log

Like this TryGit tutorial from Code School.  Unless you are doing development work, these may not be useful for you.

A powerful and useful command is to copy the entire directory and files from a repository from Github.


Launch git bash..
1.Go to or create a new directory in your local.
2. Run this

git clone https://github.com/dylanwan/hello-world

It brings all files from the hello-world to your local machine.

You do not need to save individual files, one by one.
You do not need to zip files, download, and unzip.


No comments: