Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Most of the Windows setup is now documented on Github here https://github.com/Health-Education-England/dev-handbook/blob/master/environment-setup/common.md

BUT before following doing the above you should still first do the following: 

Install chocolatey (windows package manager)

...

  • When you are prompted to "Enter a file in which to save the key" press Enter (this accepts the default location)
  • When prompted to enter a passphrase you can either enter a passphrase or leave blank by just hitting enter (if you opt for a passphrase then you need to enter it every time you e.g. push to gihubgithub)

This should generate a key which starts with ssh-rsa .................... and ends with == joebloggs.com .

  • Check in this file to make sure the above key has been generated C:\Users\<Your name>\.ssh\id_rsa.pub  pub  (you may need to use "open with" e.g. notepad because it defaults to a Publisher file!) 


Here's some more detailed notes on ssh key pair generation:

Generate a public/private ssh key pair (https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/) and provide the public key to the git admin within the team. Add the public key to your git account https://github.com/settings/keys

Now follow the guide on the /wiki/spaces/TISDEV/pages/31981641 page.

If there are issues with SSH, you can set up your repos to use https instead https://help.github.com/articles/changing-a-remote-s-url/

Implications of line endings settings on windows development environment 

...