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.

offer shallow clone option

See original GitHub issue

As a user who often contributes translations, documentation improvements, etc. I rarely have much use for an offline copy of a repo’s entire history. I would trade that for an option to clone shallowly, so that my workflow can be faster.

So, how about something like [ ] fetch only the repo's current state that executes git clone --depth=1 --no-single-branch ...? Maybe not 1, but ... only recent history or some small portion of it. I’m curios about how that could be determined before cloning.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
sergiou87commented, May 4, 2021

Hello! 👋

We talked about this feature and we’re gonna explore our options during the next weeks 😄

I could be a super easy thing to do… but we want to make sure there are no side-effects when the app is using a shallow clone, so we’ll need to investigate a bit 🕵️‍♂️

Stay tuned!

3reactions
EwoutHcommented, Apr 26, 2021

Hi @sergiou87 and @tidy-dev! Is there any chance that you could look into this issue? It would be awesome to have the option for a shallow clone in GitHub Desktop, especially if you are limited in bandwidth or storage.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use Git Shallow Clone to Improve Performance
Git shallow clone lets you pull down just the latest commits, not the entire repo history. So if your project has years of...
Read more >
Get up to speed with partial clone and shallow clone
Git's partial clone and shallow clone features are options that can help here, but they come with their own tradeoffs. Each option breaks...
Read more >
How to perform a shallow git clone - TheServerSide.com
This shallow git clone example shows you how to use the --depth switch to limit the git commit history pulled to your local...
Read more >
Git Shallow Clone and Clone Depth - Linux Hint
Git's solution to the problem is shallow clone where you can use clone depth to define how deep your clone should go. For...
Read more >
Shallow Clone on Git in Linux - A Quick Guide
The shallow clone lets you truncate the commits history to the latest commits i.e. instead of all the commit history, only the last...
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