Push changes to vendor package after modification

I write most of my stuff as a package, if I need to use it any other instances.

After doing a composer install namespace/package:dev-master, I always forget to do --prefer-source.

After making my changes in the vendor/namespace/package folder, I go to push my changes and it fails, due to it trying to push the changes via HTTPS.

The fix is simple, edit the .git/config file and under `[remote “origin”], change the “url” parameter from https to:

url = ssh://[email protected]/namespace/pacakge.git

Of course, if you’re using Github it will be slightly different.