Skip to content

Instantly share code, notes, and snippets.

@swegner
Last active September 20, 2018 15:53
Show Gist options
  • Save swegner/37a9aab219d11c9dccf5a181947aad69 to your computer and use it in GitHub Desktop.
Save swegner/37a9aab219d11c9dccf5a181947aad69 to your computer and use it in GitHub Desktop.
git fetch one week of commits apache/beam
> git init
Initialized empty Git repository in /usr/local/google/home/swegner/scratch/beam-clone/.git/
> git remote add origin https://github.com/apache/beam.git
> git remote add swegner https://github.com/swegner/beam.git
> time git fetch swegner one-week-ago
remote: Counting objects: 266824, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 266824 (delta 0), reused 0 (delta 0), pack-reused 266822
Receiving objects: 100% (266824/266824), 93.98 MiB | 14.95 MiB/s, done.
Resolving deltas: 100% (123246/123246), done.
From https://github.com/swegner/beam
* branch one-week-ago -> FETCH_HEAD
* [new branch] one-week-ago -> swegner/one-week-ago
real 0m11.936s
user 0m7.148s
sys 0m1.659s
> time git fetch origin master
remote: Counting objects: 2329, done.
remote: Total 2329 (delta 960), reused 960 (delta 960), pack-reused 1369
Receiving objects: 100% (2329/2329), 444.12 KiB | 1.74 MiB/s, done.
Resolving deltas: 100% (1062/1062), completed with 382 local objects.
From https://github.com/apache/beam
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
real 0m1.771s
user 0m0.292s
sys 0m0.109s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment