This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To delete local branches which have alread been merged into current branch | |
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |