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

see: https://github.com/blog/967-github-secrets#diff-patch


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -