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 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: And you will get following output: Add your SSH Key to GitHub Look up your SSH key in id_rsa.pub file: Copy the SSH public key to clipboard, and Open https://github.com/settings/ssh Click "Add SSH Key", and paste…

Continue Reading
Contact Us
  • Room 311, Zonghe Building, Harbin Institute of Technology
  • cshzxie [at] gmail.com