How long should sudo git branch -a run for?

How long should sudo git branch -a run for?

by James Steerpike -
Number of replies: 4

I set this up yesterday and the process never seems to finish.

Git Hanging

Today I have run it again. It gets to  remotes/origin/MOODLE_33_STABLE instantly but after several hours it is at remotes/origin/MOODLE_37_STABLE and no progress.

Running Ubunbu 18 on  a 1 GB RAM cloud server based in Moscow.

Yesterday I canned the  git branch -a and proceeded to

    sudo git branch --track MOODLE_39_STABLE origin/MOODLE_39_STABLE,9

No problems and Moodle 3.9 installed fine. Benchmarked Moodle at around 90 so the server performance seems fine.

Not really a problem but are others finding this step slow?


Average of ratings: -
In reply to James Steerpike

Re: How long should sudo git branch -a run for?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
It should be all but instant.

I've broken lots of things in Git in the past but never seen anything like that.
In reply to James Steerpike

Re: How long should sudo git branch -a run for?

by Ken Task -
Picture of Particularly helpful Moodlers

For others who might come across this and do copy and paste ... don't:

TYPO IN COMMAND:

sudo git branch --track MOODLE_39_STABLE origin/MOODLE_39_STABLE,9

should not have the ,9 at the end.

Git doesn't require apache ... it's like wget.

Just tested with a moodle collection of versions ... from 3.5 to 3.9 and even a fresh gtest.   No issues.

Must have been a hickup.

'SoS', Ken

In reply to Ken Task

Re: How long should sudo git branch -a run for?

by James Steerpike -

Doh!

On Ubuntu the window is not scrolling down.  Noticed it when I scrolled the mouse wheel. So a few arrow clicks reveals the last few rows are not shown and a : is the only entry on the row.

A few arrow clicks and the last rows are revealed. Should have understood when I was able to continue my install even after this process "failed".

Was expecting to be returned to the prompt like every other result from a command..,...

In reply to James Steerpike

Re: How long should sudo git branch -a run for?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Yeh Git has it's own paging thing built in