Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# add the test repo as a remote repository git remote add oldrepo git@github.com:sos-berlin/js7-demo-inventory-rollout-test.git # get the test repo commits git remote update # examine the whole tree git log --all --oneline --graph --decorate # copy/cherry-pick the commits from the test repo into your local prod repo git cherry-pick <commit-hash> # check local prod repo git log # push changes to remote prod repo git push origin master # remove the reference to the test repo git remote remove oldrepo |
Explanation:
- Line 11: The
<commit-hash>
identifies commits performed to push when pushing scheduling objects to the test repository. This step can be performed repeatedly to copy cherry-pick a number of commits.
Pull Changes to local Git Repository
...
Overview
Content Tools