Skip to content

Instantly share code, notes, and snippets.

PromiseStateMachine = React.createFactory(React.createClass({
propTypes: {
promise: React.PropTypes.object.isRequired,
loading: React.PropTypes.func,
loaded: React.PropTypes.func.isRequired,
failed: React.PropTypes.func
},
getDefaultProps: function() {
[alias]
l = log --oneline --decorate --graph -20 --branches
ll = log --decorate --graph -20
st = status -s -b
co = checkout
ci = commit
br = branch
amend = !git ci --amend -C HEAD
ls-untracked-files = !git-ls-files -o --exclude-standard
ls-ignored-files = !git-ls-files --others -i --exclude-standard