aspe:keyoxide.org:YKCABHA6W6OLOREAHDR2F2EJKM
Branch A has commits (X,Y) that also need to be in Branch B. The cherry-pick operations should be done in the same chronological order that the commits appear in Branch A.
cherry-pick does support a range of commits, but if you have merge commits in that range, it gets really complicated
git checkout branch-B
git cherry-pick X
git cherry-pick Y
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
| New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Narrator.exe" | New-ItemProperty -Name "Debugger" -Value "%1" -PropertyType String |
I hereby claim:
- I am lugoues on github.
- I am lugoues (https://keybase.io/lugoues) on keybase.
- I have a public key whose fingerprint is DB3E 6CAE 0161 556B 2211 40AD 5851 7A59 C815 C65F
To claim this, I am signing this object:
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
| ;; See: http://en.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree | |
| (def stern-brocot-sequence | |
| (map (fn [nums] | |
| (/ (first nums) (second nums))) | |
| (iterate | |
| (fn [nums] | |
| (let [a (first nums) | |
| b (second nums) | |
| r (rest (rest nums))] | |
| (vec (flatten (conj [] b r (+ a b) b))))) |
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
| #!/bin/sh | |
| # Use BeyondCompare as difftool for git in cygwin. | |
| # git config --global difftool.bc3.cmd "beyondcompare-diff.sh \"\$LOCAL\" \"\$REMOTE\"" | |
| # git difftool -t bc3 branch1..branch2 | |
| # Reference: http://www.tldp.org/LDP/abs/abs-guide.pdf | |
| library=githelperfunctions.sh | |
| #[ -f $library ] && . $library |