Created
August 20, 2010 23:37
-
-
Save jgeewax/541446 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(rc-1.0)jj@im-jj:~/demo$ git log --pretty=oneline --abbrev-commit | |
1dec2d3 Added bugfix number 2 # <-- This is the commit we want, note the short-hash. | |
92ab376 Added bugfix number 1 | |
52a6d49 Added bug fix | |
97a0f2a Minor commit | |
099214d Minor commit | |
d0e9912 Issue 12 - Added new feature XYZ | |
c348893 Added fixed typo | |
309291d Initial Commit | |
(rc-1.0)jj@im-jj:~/demo$ git checkout 1.0 | |
Switched to branch '1.0' | |
(1.0)jj@im-jj:~/demo$ git cherry-pick 1dec2d3 | |
Finished one cherry-pick. | |
[1.0 8e3a5f9] Added bugfix number 2 | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
create mode 100644 feature2.py | |
(1.0)jj@im-jj:~/demo$ git push | |
Counting objects: 4, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (2/2), done. | |
Writing objects: 100% (3/3), 289 bytes, done. | |
Total 3 (delta 1), reused 0 (delta 0) | |
To my-server:/git/demo.git | |
52a6d49..8e3a5f9 HEAD -> 1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment