Skip to content

Instantly share code, notes, and snippets.

git push -f #yolo

Tim Kennedy stretchkennedy

git push -f #yolo
View GitHub Profile
gaearon / createAsyncPage.jsx
Last active Mar 23, 2018
Webpack's async code splitting with React Router
View createAsyncPage.jsx
'use strict';
var React = require('react');
function createAsyncHandler(getHandlerAsync, displayName) {
var Handler = null;
return React.createClass({
displayName: displayName,
CristinaSolana / gist:1885435
Created Feb 22, 2012
Keeping a fork up to date
View gist:1885435

1. Clone your fork:

git clone

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://
git fetch upstream
You can’t perform that action at this time.