Using SSH Key Pairs when working with a remote git repository (ex. GitHub) could save a lot of trouble and it is more secure. We will show you how to config GitHub using key pair you have generated today. (To see how to generate a key pair, you can see how to do it in Windows using PuttyGen here, or… Read more →
Tag: git
Git – Merge Unrelated histories
I have a set of code which worked on before but never version controlled. I was trying to push it to Github by creating a new repo on Github with some git ignore config files and README.md, then initialize, add and commit the local repo with:
1 2 3 |
git init git add . git commt -m "some message" |
However when I try to pull from the remote repo on Github, an… Read more →