nosarthur / gita

Manage many git repos with sanity 从容管理多个git库
MIT License
1.67k stars 74 forks source link

Starting again (or better option) #228

Closed testfailagain closed 2 years ago

testfailagain commented 2 years ago

Hi,

I change my project folder and now gita ll doesn't show anything. I don't care a lot, so I tried to start again, I found the command git clear, but it said: "gita: errro: invalid choice: 'clear' (choose from 'add', 'rm', 'freeze'.......)"

I don't know if it's because I don't have my gita repo updated (I don't know how to do that) Or maybe the documentation is outdated, and you removed it in the new versions (I didn't installed it so long time ago)

Maybe there's a file where I can change the path, at the end It's like I move it from: /home/bla/my_projects/projects.... to /home/bla/projects/....

So, any solution is valid, clear all gita information and add it manually again, or a file to change the patch.

Thanks

nosarthur commented 2 years ago

gita clear should work. Maybe you don't have the latest gita installed. To upgrade

pip3 install -U gita

The repos and groups are saved in

~/.config/gita/repos.csv
~/.config/gita/groups.csv
testfailagain commented 2 years ago

correct, it was the version. problem solved, thanks.