Table of Contents

View Screencast (Quicktime)

Right-click on the button above and choose Save As to save file to your computer


Support the Course

There's no charge for the course, but we greatly appreciate any donations.

Suggested donations:

  • One or two lessons: $5
  • Several lessons $10
  • Entire course: $25 – $50

We hope you've found the course to be valuable, and we appreciate any support you care to provide.


Sign Up Now!

If you aren’t already receiving our course lessons via email, sign up now to be sure you don’t miss anything.

Every few days, we’ll send you an email with a link to the next episode, plus a list of additional resources for advancing your knowledge.

There’s no cost and no obligation. And we’ll never share your email address with any third party.


We’ll send you the first lesson right away.


Want to help spread the word? We’d be grateful if you would include a link to the course in your blog, web site, or emails.

Looking for a Powerful Hosted CMS?

The authors of the Learning Rails course also offer a very powerful hosted content management system for web designers, which enables you to build sophisticated, database-driven sites without programming. This is a great alternative to building a custom Ruby on Rails site for those applications for which you just can't justify the cost of a custom solution.

To learn more, sign up for the free Learning Webvanta course on building database-driven web sites without programming.

Lesson 21
Version control with git

comments Bookmark and Share


Add Your Comments

(not published)

Reader Comments

4 comments

Permission denied (publickey). fatal: The remote end hung up unexpectedly

From: Wayne Simacek, 09/23/09 06:58 AM

My $git push origin master had the following fatal error: Permission denied (publickey). fatal: The remote end hung up unexpectedly error: failed to push to 'git@github.com >>I had copied my keys in from other development boxes, and all I needed to do was: $ ssh-add id_rsa >>then I retried the $git push origin master and it worked great. Thanks for the great lesson. -Wayne

Fixed

From: Lee, 08/14/08 12:42 PM

OK, solved that by editing .git/config and changing the remote url as it stated.

Error pushing to github

From: Lee, 08/14/08 12:27 PM

I get an error with trying to push my change to Github I'm just using git push origin master fatal: protocol error: expected sha/ref, got ' *********' You can't push to git://github.com/user/repo.git Use git@github.com:user/repo.git Any ideas?

Small error in .gitignore

From: Per, 08/12/08 03:32 PM

You have mistyped .DS_Store in the .gitignore file causing five of these to be checked in. :)

 

Sponsored By

New Relic Rails Performance Monitoring