offer shallow clone option
See original GitHub issueAs 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:
- Created 6 years ago
- Reactions:9
- Comments:12 (8 by maintainers)
Top 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 >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
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!
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.