Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Are the files physically stored on your local drive when you clone a repository?(Cloning a Repository - Behind the Scenes...)
Are the files physically stored on your local drive when you clone a repository? [message #1725206] Tue, 01 March 2016 16:34 Go to next message
Jack WC is currently offline Jack WCFriend
Messages: 2
Registered: February 2016
Junior Member
Are the files physically stored on your local drive when you clone a repository? Or are 'pointers' to the files stored on your local drive? It's only when you access the files that the pointers go out and pull the physical files from the Git Repository.
Re: Are the files physically stored on your local drive when you clone a repository? [message #1725231 is a reply to message #1725206] Tue, 01 March 2016 21:52 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
Yes, when you clone a repository the repository is physically cloned. You can restrict the clone to only the commits reachable
from the selected branches. But most often you just clone all since having the complete history has the advantage that
you can work locally which is faster and allows to continue working offline. You only need a network connection to the
server in order to fetch or push changes.
Previous Topic:Apply stashed changes during interactive rebase
Next Topic:EGit circumvents remote pre-receive hooks?
Goto Forum:
  


Current Time: Thu Mar 28 15:01:08 GMT 2024

Powered by FUDForum. Page generated in 0.02122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top