Git good with Git

There will come a time in every developers life where they will have to learn how to use more than one version control software. Here are some steps to set up a Git repository.


STEP 1 - Download the latest version of Git here.


STEP 2 - Open your terminal on your local machine.


STEP 3 - You will need to tell Git who you are so that all your commits are labeled properly

git config --global user.name "YOUR NAME HERE"

And your email address:

git config --global user.email "YOUR EMAIL ADDRESS HERE"

 STEP 4 - Initiate your local repo:

cd <directory you want to use git on>
git init

Finally you can clone your repo:

git clone ssh://milo@example.com/path/to/my-project.git
cd my-project

STEP 5 - Get to work! The code won't write itself!

Comments

Popular posts from this blog

ASP.NET Identity Remember Me

ASP.NET MVC - How to enable/disable CaC/Client Certificate authentication per area or route.

IIS Express Client Certificates