LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2012, 03:56 PM   #1
casperdaghost
Member
 
Registered: Aug 2009
Posts: 349

Rep: Reputation: 16
GIT - explanation


I need to set up a git repository at work - I am looking at a this tutorial:
Code:
http://www.vogella.com/articles/Git/article.html
But i really dont understand git. i see that sometimes people have there repositories on line an you can view their code from a browser.

It seems that the repository that i built just exists on the host where git was installed.

Does the repository that i build up on my host get ported to a space on the cloud, where i could download that repository to any machine in my network - or on my work and home pc (so i could work on work projects at home). I think that most of the tutorials (and the guys at work) asume that the user knows just what git is and don't explain what it is, or what it potential uses are
 
Old 07-04-2012, 04:15 PM   #2
es0teric
Member
 
Registered: Apr 2007
Distribution: Ubuntu
Posts: 105

Rep: Reputation: 19
A git server will contain one or more repositories. From that, other users can clone the repository, update the code, and optionally merge it back into the repository they got it from.

Github is a popular website that provides a web-interfaces to git repositories, but you don't necessarily have to use Github at all while using Git.

I've heard this book is great for understanding it better: http://www.amazon.com/Version-Contro.../dp/0596520123
 
Old 07-04-2012, 04:31 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
May be this can help: http://www.sbf5.com/~cduan/technical/git/
 
Old 07-04-2012, 04:38 PM   #4
casperdaghost
Member
 
Registered: Aug 2009
Posts: 349

Original Poster
Rep: Reputation: 16
when I installed git on my host at work - did a repository get created in a cloud somewhere, that i could upload to and dowload code from - or is that repository located just on that work host?

this is all i have done so far:
Code:
sudo apt-get install git-core
 
Old 07-04-2012, 04:44 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You have to explicitly create a git repository on a cloud server or a service like github, otherwise it will only exist on the machine where you set it up (and the machines that manually clone the repository).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] git push in a git-init without --bare option? xeon123 Linux - Newbie 1 06-27-2011 03:44 AM
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
SBo-git - slackbuilds.org on git (with patches for current) ponce Slackware 47 03-12-2011 05:12 AM
why is git scm named 'git'? hottdogg Linux - General 5 02-03-2009 07:25 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration