Git clone a specific commit
Downloading a specific commit from github
I need to download a specific version of a project from GitHub.
[Read More]Github
I will use a single repository for either the Angular SPA and the c# Web API.
[Read More]Create a GitHub repo from a local git
Adding a local project to Github from Windows using Visual Studio 2015 and GitHub Desktop.
This is not the best way to add a local project to github. It is just a way that works using Visual Studio and GitHub Desktop with a small manual intervention.
A shorter path is possible by letting GitHub Desktop create the repository.
[Read More]Multiple SSH Keys
Managing multiple SSH keys for Github and Visual Studio Online
After generating a new key for my Visual Studio Online code repository I have to tell git which key to use for each connection.
Create a file in ~/.ssh/config
Add the following content
# Uncomment to enable debugging.
# Levels are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3.
# LogLevel DEBUG
Host ssh.dev.azure.com
IdentityFile ~/.ssh/id_rsa_visualstudio
Host vs-ssh.visualstudio.com
IdentityFile ~/.ssh/id_rsa_visualstudio
Host github.com
IdentityFile ~/.ssh/id_rsa_github
# tell ssh-agent to not try keys
Host *
IdentitiesOnly yes
Personal Vpn with Algo on Azure
Deploy a personal VPN. Because VPN providers are expensive crap.
Let’s create a VPN server on Azure (other cloud providers are supported).
[Read More]Hugo Configure a Site Part 3
Configure a site using Hugo - part 2
Creating the bluish capsule using Hugo, Atom and Github
SSH Keys for Github
How to authenticate to github using SSH keys
The complete instruction on Github
Create a key in the default location without any passphrase (or add one if you like). Then add it to the ssh-agent.
ssh-keygen -t rsa -b 4096 -C "[email protected]"
ssh-add ~/.ssh/id_rsa
Copy the key into the clipboard
cat ~/.ssh/id_rsa.pub
Go into your profile and select SSH and GPG keys, click Add SSH key, add a description and paste the key.