On Sun, Sep 14, 2014 at 06:06:08AM -0700, Robert Polanski wrote:
> Hi,
> I have changed system from windows to linux. 
> In project we use GIT.
> The question is: can I move the project directory (containing source and 
> .git directory) to linux and still use without problems or I have to 
> essentially clone the project over again?

I've never tried it, but all my experience of sharing files between
Windows and any other system suggests that you're likely to run into

Based on you actually asking I'm assuming there is no central repo you
can clone from... but if you have one, or can create (a temporary)
one, you've already found a solution.

Otherwise you can always look into git-bundle.  The following is a
simple/naive script I've used in the past to bundle up entire repos
for easy sharing:

#! /bin/bash

git bundle create $1 \
    $(git for-each-ref --format '%(refname)' refs/heads | \
        while read entry; do echo ${entry#refs/heads/}; done)


Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

In a hierarchy, every employee tends to rise to his level of incompetence.
     -- The Peter Principle

Attachment: pgpwnXqj2y47z.pgp
Description: PGP signature

Reply via email to