Skip to content

Instantly share code, notes, and snippets.

View taylorqj's full-sized avatar
🐶

Taylor Jones taylorqj

🐶
View GitHub Profile
/*
* No space left on device linux gitlab runner problem fix
* SSH into gitlab-runner ec2 using user ubuntu@public-ip and jeremy's PEM
* run the following docker commands
*/
docker rm $(docker ps -q -f 'status=exited')
docker rmi $(docker images -q -f "dangling=true")
@taylorqj
taylorqj / git-cleanup
Created April 2, 2015 18:08
Git Cleanup
// To delete local branches which have alread been merged into current branch
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d