I've just started a contract job, and have an account at the company git repository. Problem is, the password given is alphanumeric gibberish, so I'd like to configure git to allow for password less push/pulls on my Ubuntu development box.
To do so, I've created a .netrc file with 0600 permissions in $HOME and added
machine companyserver.com login jason password aphanumeric_gibberish The git clone command consists of
git clone [email protected]:/opt/git/jason.git Even after deleting my local working copy and re-cloning the git repo to
/media/storage/code_projects/company_working_copy I still get prompted for the password.
Based on these conditions, how can I implement a password-less push/pull using .netrc?