question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Canceling the cloning of a repo?

See original GitHub issue

If 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:open
  • Created 6 years ago
  • Reactions:16
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
maifeeulasadcommented, Aug 1, 2021

@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.

2reactions
darigovresearchcommented, Jul 24, 2021

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found