Note that there are some explanatory texts on larger screens.

plurals
  1. POGit archived repository as a full functional repository?
    primarykey
    data
    text
    <p>I need to setup a git repository on a place that has restrictions on the filetypes and contents. Of course, that could become a pain for synchronizing so I could overcome that limitation by archiving the repository.</p> <p>However, archiving the repository would make the archive to be just that: an archive or a file without repository posibilities.</p> <p><strong>I wonder, is there any way to make git interact with an archived repository</strong> (let's say, a .zip file) <strong>as a full functional repository</strong>, with the only difference that it is contained in a different file system structure?</p> <p>I would love to be able to do something like this, if possible at all:</p> <pre><code>git clone /myRepo /otherlocation/repo.zip # myRepo is a directory with all the files # repo.zip is a compressed zip file # could git treat both as repositories anyway -- any approach? </code></pre> <p>I would like to be able to perform other clones, pushes and pulls to this archive, as a way to sync different local repositories with this restricted location I have.</p> <p><strong>Background</strong>:</p> <p>I need to work on a project and I haven't been given any place to host my repositories. For the moment, I'm working with a local copy of a git repository I created, but I would like to have that synced in a real server. As I haven't been given any place to put my code, I am thinking in using a Sharepoint folder for documentation regarding the project. Sharepoint does provide limitations on the type of files I can post to it, and I can have the server set up so I can access it's document library as an UNC path.</p> <p>However, I can overcome the filetypes limitation by archiving everything into a .zip file and uploading it. Instead of doing all of that manually every time, I would like to see if git (or anything else) can take care of that for me.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload