github - git cherry-pick without fetching remote branch -
i having bit of problem here, want cherry-pick commit git repo isn't locally present in system.
for example : https://github.com/despairfactor/n6/commit/ecea4ab6d3d8bb4122522398200f1cd2a06af6d5
a usual cherry-picking procedure includes doing
1) git remote add <reponame> <repourl>
2) git fetch <reponame>
, downloads copy isn't merged own local repo.
3) git cherry-pick <commit sha>
, cherry-pick done.
i have slow download speed (1 mbps), , don't have enough time download whole repo 1 commit. sorry if question asked , answered.
you might consider download patch, apply locally.
to patch specific commit on github, append .patch
suffix commit url:
https://github.com/despairfactor/n6/commit/ecea4ab6d3d8bb4122522398200f1cd2a06af6d5.patch
Comments
Post a Comment