Remove References to Remote branches that don't exist
git remote prune origin
Delete all local branches that don't have a remote
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
Remove References to Remote branches that don't exist
git remote prune origin
Delete all local branches that don't have a remote
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
This is the follow up to a post I wrote recently called From Require.js to Webpack - Party 1 (the why) which was published in my personal blog.
In that post I talked about 3 main reasons for moving from require.js to webpack:
Here I'll instead talk about some of the technical challenges that we faced during the migration. Despite the clear benefits in developer experience (DX) the setup was fairly difficult and I'd like to cover some of the challanges we faced to make the transition a bit easier.
/* | |
Simple AJAX | |
by Greg MacWilliam | |
https://gist.github.com/gmac/5630172 | |
*/ | |
define('simple-ajax', function() { | |
var ajax = (function( root ) { | |
function getRequest() { |