Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Remote repo - bare cloning and fetching. #4

Closed
dazinator opened this issue Apr 21, 2015 · 1 comment
Closed

Remote repo - bare cloning and fetching. #4

dazinator opened this issue Apr 21, 2015 · 1 comment
Labels
Milestone

Comments

@dazinator
Copy link
Member

For remote repo support, my limited understanding through looking at the code in the multiple tools is that we:

  1. Do a bare clone (assuming this is for speed / bandwidth / file system gains over full clone)
  2. Do some prep / configuration of that bare clone, so that we can begin using it locally, enough to check files out from a branches etc.

Any chance we can get this process documented - especially around the additional configuration that's made to the bare clone of the repo and why its necessary? (I'd like to understand it)

Also, it works on the assumption that we delete any existing repo, and do a fresh bare clone every time - to ensure latest, but i've noticed for GitVersion we are also trying to make an improvement to not delete / do a fresh bare clone every time - but instead keep the existing one up to date. GitTools/GitVersion#399 (diff)

It would be nice to be able to point users at some wiki saying "see - this is exactly what we do to the repo after its cloned, and why" - things like checking for remotes , fetching etc etc.. I'd also like to point myself at that page..

Let's then also get that documented functionality into the core (when it all works)

@GeertvanHorrik GeertvanHorrik added this to the 1.0.0 milestone Apr 21, 2015
@asbjornu
Copy link
Member

As GitVersion stopped using GitTools.Core in GitTools/GitVersion#1581, this issue is unfortunately not relevant anymore and the whole repository will be archived. Please try the latest build of GitVersion and see if it solves whatever problem you had when you submitted this issue. If the problem persists, please submit a new issue or PR against the GitVersion repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants