I am using Git a lot these days. Git is arguably the best version control software out there especially for collaborative projects.
I rarely need to do anything complicated with Git so this simple guide to git commands is generally all I need.
The one thing I find I have to look up is how to clone a github project without enveloping the project files inside a project directory folder.
There are 2 ways to do this;
If there is no
. directory in the directory you are trying to
git clone into then this command should work for you.
git clone firstname.lastname@example.org:user/repo.git .
. at the end of that command.
The other way that typically works for me is the following;
git init git remote add origin email@example.com:user/repo.git git pull origin master