Copying my local git repository directory should result in the same status message, right? -
i have git repository on mac in directory ~/documents/source/thingameios
. in local repository if run git status
command see nothing outstanding:
$ git status
on branch master
branch up-to-date 'origin/master'.
nothing commit, working tree clean
if go directory , copy local git repository (cp -r thingameios testflightthingameios
) , swap newly copied local repository , re-run git status
command have outstanding changes:
$ git status
on branch master
branch up-to-date 'origin/master'.
changes not staged commit:
(use "git add/rm ..." update committed)
(use "git checkout -- ..." discard changes in working directory)deleted: frameworks/hockeysdk.embeddedframework/hockeysdk.framework/headers
typechange: frameworks/hockeysdk.embeddedframework/hockeysdk.framework/hockeysdk
deleted: frameworks/hockeysdk.embeddedframework/hockeysdk.framework/resources
deleted: frameworks/hockeysdk.embeddedframework/hockeysdk.framework/versions/current
deleted: frameworks/hockeysdk.embeddedframework/resources/hockeysdkresources.bundleno changes added commit (use "git add" and/or "git commit -a")
surely these 2 local repositories should identical , should give identical responses git status
command. going on?
looks copy issue. use tar copying git versioned folders:
cd /path/to/source; tar cvf - . | (cd /path/to/destination; tar xvf -)
supports hidden files , symlinks. reliable - never had copy issues this.
Comments
Post a Comment