git repo having issues?

git repo having issues?

by Ken Task -
Number of replies: 1
Picture of Particularly helpful Moodlers

was just testing a side load of moodle code via git and a bash shell script on CentOS 6 box.

Contents of script:

git clone git://git.moodle.org/moodle.git mdlgit
git branch -a
git branch --track MOODLE_31_STABLE origin/MOODLE_31_STABLE
git checkout MOODLE_31_STABLE

Appeared to be slower than normal ... normally quite fast!

First time I've seen below.

Initialized empty Git repository in /var/www/mdlgit/.git/
remote: Counting objects: 965967, done.
remote: Compressing objects: 100% (221143/221143), done.
remote: Total 965967 (delta 718982), reused 965447 (delta 718493)
Receiving objects: 100% (965967/965967), 324.13 MiB | 1.32 MiB/s, done.
Resolving deltas: 100% (718982/718982), done.
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git

Hickup? or should I be using different commands?

'spirit of sharing', Ken


Average of ratings: -
In reply to Ken Task

Re: git repo having issues? - NEVER MIND!

by Ken Task -
Picture of Particularly helpful Moodlers

<begin ... red in face>

'programmer' - uhhh ... really hacker ... error - duh!  Script didn't change into mdlgit directory. sad

</end ... red in face>

Experience is a wonderful thing ... it enables you to recognize when you've made the same mistake ... again! :|

'spirit of sharing', Ken