Open hyz2993 opened 1 year ago
Update - after that I clone the same repo again. And the the change record shows up at the same time. Forget to say, that change record is exactly showing the name of my repo with untracked U mark.
OK I think I got the reason. First I didn't switch on "show hidden files" before. And I may click "initialise repository" before I delete repos. Then that untracked repo in the change area will show up every time I clone a new one. So the only thing I should do is rm -rf .git
. In this case, is there any solution to avoid it? Maybe inactive "initialise repository" button when it's located in the ~
?
This happened at the first time I opened codeapp after an update earlier. All of my local repos are disconnected from git and needed to re-initialise. I decided to delete them. And after that, I found the change I made before has remained in the source control/changes area. I count remove it. And when I try to press the "add" button from that change, it returns "invalid path: '.Trash/$my_repo/'. The solution I found is going to the terminal then '.Trash' and deleting the file there, or going to the "file" app and deleting the repo in the "recent delete" area. Then I had to go back to codeapp and re-press the "add" button. Now the record has gone and source control page turned to the layout with no existing local repo.
Could the app clear the related item like the "change" record from the repo has already been deleted?