Hacker News new | ask | show | jobs
by vellamike 4887 days ago
How exactly does this happen? I can understand that some people don't understand the need to keep their private key offline, but I would have thought those people aren't really aware of the existence of the private key...so how does it end up in a github repo?
1 comments

    $ git add .ssh
    $ git commit
It's probably more like:

   $ git add .
   $ git commit

  # git add /
  # git commit -m 'omg im on the internet'
Yes but what is that key doing anywhere near the repository anyway?