Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr2512 :: Intro to git remote

All about git remote

<< First, < Previous, , Latest >>

Hosted by Klaatu on 2018-03-20 is flagged as Clean and is released under a CC-BY-SA license.
git, remote, server. (Be the first).

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:26:30

Introduction to Git.

Initiated by Klaatu, this open series introduces Git and the concepts behind its use in a collaborative environment.

Instantiate a git repo:


$ mkdir alice
$ cd !$
$ git init

Add a remote:


$ git remote add origin URI_OF_REMOTE

Change a remote:


$ git remote set-url origin NEW_URI

A remote can be a server, it can be a local directory, an NFS share, pretty much whatever you want.

It is a Git convention that the primary remote is called origin. You don't have to call it that, but it's pretty common.


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?