Just a quick one… for my benefit as well as perhaps yours.
I was trying to use rebar to pull in the dependencies on one of my Erlang projects but it kept failing with the following type of output;
fatal: could not read Username for 'https://github.com': No such device or address
I believe rebar doesn’t know how to ask for github credentials and I solved this by using the git credentials helper.
git config --global credential.helper 'cache --timeout=3600'