- Git with credential manager
- Do not add GitHub account to SourceTree
- Create new token in https://github.com/settings/tokens
- Select "repo" scope
- Create token and copy it to clipboard
#!/bin/bash | |
# For when you have a train of pull requests lined up like A -> B -> C -> D | |
# and you make a change to base D that you now want backmerged to C then B then A. | |
set -e | |
# ---------------------------------------------------------------------------- | |
# List the pull request number (e.g. 42) in order that the backmerges |
function callbackExample() { | |
setTimeout(_callback, 1000); | |
console.log('This appears instantaneously'); | |
} | |
function promiseExample() { | |
_longRunningOperation() | |
.then(() => { | |
console.log('This appears later'); |