Changeset 3575
- Timestamp:
- Jan 14, 2025, 3:11:01 PM (11 hours ago)
- Location:
- trunk/UTIL
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/git_init.sh
r3445 r3575 14 14 # echo "or download it in the git-trunk/ folder (and link with git-svn)." 15 15 16 while true; do17 read -p "Do you wish to continue? [Y/n] " yn18 case $yn in19 [Yy]* ) break;;20 [Nn]* ) exit;;21 * ) break;;22 esac23 done16 # while true; do 17 # read -p "Do you wish to continue? [Y/n] " yn 18 # case $yn in 19 # [Yy]* ) break;; 20 # [Nn]* ) exit;; 21 # * ) break;; 22 # esac 23 # done 24 24 25 25 # URL=git@gitlab.in2p3.fr:la-communaut-des-mod-les-atmosph-riques-plan-taires/git-trunk.git … … 40 40 ### users push only commits in sync with svn 41 41 42 cp UTIL/pre-push .git/hooks 42 # save users hooks just in case 43 echo "Saving old hooks in .git/hooks/save ..." 44 mkdir -p .git/hooks 45 if [ -d .git/hooks ];then 46 mkdir -p .git/hooks/save 47 mv .git/hooks/p* .git/hooks/save 48 fi 49 echo "Copying lmdz hooks in .git/hooks ..." 50 cd .git/hooks 51 for hook in ../../UTIL/hooks/*; do 52 file=$(basename $hook) 53 echo $file 54 ln -s $hook $file 55 done 43 56
Note: See TracChangeset
for help on using the changeset viewer.