Hello Everyone,
  I'm trying to split out a directory, and subdirectories, into a
separate repository.  I can split (copy) my local repository, but so
far haven't been able to make anything save to it correctly.  Also, my
project is hosted on SourceForge.  I can split (copy) the repository,
but I can't get anything to save to it from my local computer.

  Here are the steps I'm using:

git clone --no-hardlinks openemergency openemergencygui
cd openemergencygui/
git filter-branch --subdirectory-filter src/org/openemergency/
openPatient/openPatientGUI -- -- all
mkdir griffon
git mv application.properties griffon
git mv build.xml griffon
git mv griffon-app/ griffon
git mv openPatientGUI.* griffon

git commit -m "Pulling GUI items into their own repository"
git remote rm origin
git update-ref -d refs/original/refs/heads/master
git reflog expire --expire=now --all
git repack -ad

cd OpenEmergency/openemergencygui/
git push origin master
git remote add openemergency ../openemergency
git fetch openemergency
git branch openemergency remotes/openemergency/master

  Any ideas or suggestions to get all this working correctly?



You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to