In my root emap dir, I realised I had the old version of the hoover repo, so I renamed the dir to hoover.OLD and then ran emap setup --init.
Expected outcome:
New hoover repo is cloned.
Existing emap repo is detected by the script, and it skips over it, or issues some sort of warning or confirmation before doing anything.
Actual outcome:
New hoover repo is cloned.
emap directory is deleted and it re-cloned a new one.
Luckily I had pushed my branches before doing this, or I would have lost a couple of days of work. My IDE setup is gone, however.
In my root emap dir, I realised I had the old version of the hoover repo, so I renamed the dir to hoover.OLD and then ran
emap setup --init
.Expected outcome: New hoover repo is cloned. Existing emap repo is detected by the script, and it skips over it, or issues some sort of warning or confirmation before doing anything.
Actual outcome: New hoover repo is cloned. emap directory is deleted and it re-cloned a new one.
Luckily I had pushed my branches before doing this, or I would have lost a couple of days of work. My IDE setup is gone, however.