Maksym Prokopov personal blog
Idea is a something worth sharing

Things I Learned

15.08.2022

Reading time: 1 min.

Things I Learned

Git push with force from the command line

git push --force origin master
git push -f origin master
git push origin +master

Make your git life a bit easier

git config --global push.autoSetupRemote true

Check DNS from the inside of docker container

This is super useful when you don’t have neither dig nor nslookup utilities inside your docker container.

getent hosts google.com