lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Clone repos from the status panel

Open willparsons opened this issue 3 years ago • 2 comments

  • 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

willparsons avatar Feb 08 '23 18:02 willparsons

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

jesseduffield avatar Feb 11 '23 00:02 jesseduffield

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.

willparsons avatar Feb 12 '23 16:02 willparsons