The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Practical Git: Create local repos with git init

Practical Git: Create local repos with git init

2:34
Getting started with Git requires you to add a .git folder to your project on your machine and then set up that folder to point to a remote repository. In this lesson, we walk through using `git init` and `git remote` to do this; we use GitHub for this remote repository as an example, but keep in mind that any Git repo hosting service will work.
Watch this lesson now
Avatar
egghead.io

Getting started with Git requires you to add a .git folder to your project on your machine and then set up that folder to point to a remote repository. In this lesson, we walk through using git init and git remote to do just that.

Avatar
ayhan

great job! Good instructions. I couldn't find place to put feedback for whole course. Really well done sir

Avatar
Stephen

I was wondering why you decided to jump directly to using remote this early in the course? Apart from there being more options to set up remote repos, (such as bitbucket for example), remote repos aren't not particularly a fundamental aspect of beginning git. I think this should be explained better in this section.

Avatar
Trevor

Hey Stephen, thanks for the feedback and watching. I'll add more information to the lesson's description to explain that GitHub is just one example of many options for setting up a remote; however, I do feel that showing setting up a remote this early is valuable as the greatest benefit of Git (in my opinion) is the distributed nature of working with multiple people and multiple machines.

In reply to Stephen
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?