Using GIT

February 18, 2012 at 1:45 am | Posted in Uncategorized | Leave a comment

Time to blog… Git Git Git….

Git = Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

GitHub = GitHub is the best way to collaborate with others. Fork, send pull requests and manage all your public and private git repositories.

Resources:

http://git-scm.com/
http://github.com/

To Do:

GIT Lab
Clone the repository at ssh://sbr600@scotland.proximity.on.ca/~/certs/
Add your cert using the instructions in the readme.txt file.
Blog about your experience.

Let’s start the Blogging process…. Below is the read me file of the steps that I needed to take setup my SSH public key on the GIT repo.

Contents of the read me file

  1. Clone the repository at ssh://sbr600@scotland.proximity.on.ca/~/certs/ to your computer.
    Command: git clone ssh://sbr600@scotland.proximity.on.ca/~/certs/
  2. Create a new brach in the repo.
    Command: git checkout -b dsegree
  3. Add my public ssh key to the repo.
  4. Command: git add dsegree.pub
    Command: git commit -m “add some comments”

    Note: If the above commit command doesn’t work then type the below commands…..

    git config –global user.name “Your Name” <– your name
    git config –global user.email you@example.com <– your email

  5. Check the Git log to make sure all looks good.
  6. Command: git log

  7. Push branch to repo.
    Command: get push origin dsegree:dsegree

Fineto :-) I am now able to ssh into @scotland.proximity.on.ca

Example: ssh dsegree@scotland.proximity.on.ca

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.