Git cherry-pick from another repository

Git cherry-pick from another repository


# Cloning our fork
$ git clone git clone git@gitlab.com:tongancity/Leespace-git-demo.git

# Adding (as "demo2") the repo from we want to cherry-pick
$ git remote add demo2 git@gitlab.com:tongancity/Leespace-git-demo2.git

# Fetch their branches
$ git fetch demo2

# List their commits
$ git log  demo2/develop 

# Cherry-pick the commit we need
$ git cherry-pick  d434sgdffedac 

# Pushing to our master
$ git push origin develope