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.bundle

no 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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -