Tag Archives: Git

Signing commits using GPG in Git

Git is cryptographically secure, but it’s not foolproof. If you’re taking work from others on the internet and want to verify that commits are actually from a trusted source, Git has a few ways to sign and verify work using GPG. Introduction to GPG First of all, if you want to sign anything you need to get GPG configured and your personal key installed. If you don’t have a key installed, you can generate one with gpg --gen-key. Once you have a private key to sign with, you can configure Git to use it for signing things by setting the user.signingkey config setting. Now Git will use your key by default to sign tags and commits if you want. Add…

Continue Reading

How to Setup and Use Github in Ubuntu

If you are or want to be an open-source developer, you must try GitHub. It is a new hosted Git repository service that's being called a "social network" for programmers. It is basically a distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Setup SSH key Generate SSH Key If you have created your account at GitHub and now you want to work with it from your terminal. Before you start installing Github, you should set up ssh keys: If your key does not have the default filename, you'll have to pass the path to ssh-add. And you will get the following output: Add your SSH Key to GitHub Look up your SSH…

Continue Reading
Contact Us
  • Nanyang Technological University, Singapore
  • root [at] haozhexie [dot] com