lazygit
                                
                                 lazygit copied to clipboard
                                
                                    lazygit copied to clipboard
                            
                            
                            
                        [Feature Request] Support for direct CLONING from inside lazygit
Right now we are already able to create a new local repository with lazygit, as well as manage a previously-cloned one. It seems odd that I'm not able to also clone a repository with lazygit...
@jesseduffield this might be an option in the Status pane that brings up a prompt for the link and destination path?
Seems like a good first issue.
Agreed
But we should add some options, e.g.:
- --depth=1
- --recurse-submodules
- maybe a new name for the destination folder
- not sure what else
Any ideas on what it should look like? Because these can be combined.
we really need to introduce a form panel
should this be delayed until the form panel has been created?
once the repo has been cloned do we want to
- do nothing
- ask the user if they want to switch to the cloned repo
- put the repo into the "recent repos" list
@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