Canceling the cloning of a repo?
See original GitHub issueIf a repo is in the middle of being cloned and Desktop is quit (accidentally I presume), the partially downloaded cloned repo remains on your local, while at the same time you are “blocked” from cloning the repo again unless you remove the files locally or clone it elsewhere.
Should we implement the option to click a cancel
button once the cloning process begins? Use cases: the user cloned the wrong repo or the repo is too big for their system and needs to be stopped. Of course all relevant files must be removed locally too, whether cancelled by the user or if the app is quit.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:16
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Github clone can't cancel - Visual Studio Feedback
I encountered this issue as well with an Azure DevOps link. The only way I could do any further interactions with local repos...
Read more >stop cloning dialog is displayed on clicking right area of failed ...
Steps: clone Git, SVN or Hg repository and cancel clone or perform clone which fails; click the location where the delete button is...
Read more >Cloning repo from github within Xcode leaves dialog box un ...
The download completes, I see the project in the Finder, but the Xcode clone dialog box does not close and cannot be closed....
Read more >Is my cloning stuck or is it just taking a long time?
Solved: I'm very new to git and I've been cloning a repo from BitBucket cloud in SourceTree to my local machine for roughly...
Read more >Clone a Git repo & other common Git operations
Resolve merge conflicts · If there is a merge conflict, the Repos UI shows a notice allowing you to cancel the pull or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@darigovresearch Hello, Yes, we(@sergiou87, @tidy-dev, @maifeeulasad ) are working on it. You may find all the updates here: https://github.com/desktop/dugite/issues/443. I guess we will be able to get this long-awaited feature soon. Thanks. Keep me in your prayer.
@maifeeulasad is there any update on implementing this?
It would be a very useful feature as often when cloning a larger repository it takes a while even if you have realised.
@tierninho the workaround is good but not easily discoverable for users. @maifeeulasad perhaps as a first implementation you can add a button that executes whatever the the remove button does but put it under the loading bar?