Clone repos from the status panel
-
PR Description https://github.com/jesseduffield/lazygit/issues/1257
-
Please check if the PR fulfills these requirements
- [ ] Cheatsheets are up-to-date (run
go run scripts/cheatsheet/main.go generate) - [ ] Code has been formatted (see here)
- [ ] Tests have been added/updated (see here for the integration test guide)
- [ ] Text is internationalised (see here)
- [ ] Docs (specifically
docs/Config.md) have been updated if necessary - [ ] You've read through your own file changes for silly mistakes etc
Copying my comment from the issue:
@willparsons it's okay for us to have basic git clone functionality. We can add the form approach later. After cloning we should ask the user if they want to switch to the cloned repo. We should also (unconditionally) add the repo to the recent repos list
What is the procedure for manually adding a repo to the recent repos list?
From what I can tell the current method is dependent on opening lazygit in the repository directory, whereas in this case we want to just update the list.