friends-of-osclass / osclass-vagrant

:space_invader: – Osclass development stack using Vagrant and Puppet provisioning
2 stars 1 forks source link

Git / Configuration #6

Closed adrienrn closed 9 years ago

adrienrn commented 9 years ago

First idea is to copy the ~/.ssh/id_rsa key on the vm.

adrienrn commented 9 years ago

Make the git config too.

Manually:

vagrant@packer-parallels-iso:/vagrant$ git config --global user.name "Hussard"
vagrant@packer-parallels-iso:/vagrant$ git config --global user.email "adrien.xxx@gmail.com"
adrienrn commented 9 years ago

For prompt: https://github.com/jimeh/git-aware-prompt

adrienrn commented 9 years ago

About git-config, this does it : https://gist.github.com/hardyoyo/497c2b57dac93f8c96ef

adrienrn commented 9 years ago

About ssh keys, use forwarding_agent for ssh via Vagrant.

adrienrn commented 9 years ago

Last bit; .gitconfig copied from host to vm via vagrant. c3ff99109c532b3dc21f9e0096dd42977f024ef5