create_nugen.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 # BEFORE YOU RUN THIS SCRIPT:
4 # git remote remove origin
5 
6 # AFTER EVERYTHING IS WORKING
7 # git remote add origin ssh://p-nugen@cdcvs.fnal.gov/cvs/projects/nugen
8 # git remote -v
9 # git push -u origin develop
10 
11 # use git-delete-history.sh
12 
13 cd /home/garren/scratch/larsoft/nu/srcs/nugen
14 /home/garren/larsoft/laradmin/svnToGit/helpers/git-delete-history.sh \
15  test \
16  tools \
17  nutools/EventDisplayBase \
18  nutools/EventGeneratorBase/GeneratedEventTimestamp_plugin.cc \
19  nutools/EventGeneratorBase/CRY \
20  nutools/G4Base \
21  nutools/G4NuPhysicsLists \
22  nutools/IFDatabase \
23  nutools/MagneticField \
24  nutools/NuBeamWeights \
25  nutools/ParticleNavigation \
26  nutools/RandomUtils
27 
28 git repack -A
29 git gc --aggressive
30 
31 # now rename
32 git mv nutools nugen
33 
34 exit 0
35