One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
name: Security audit | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
jobs: | |
security_audit: |
To rename your Git master branch to main, you must do the following steps:
Navigate to your repository in the command line and issue the following commands:
- git branch -m master main
- git push -u origin main
Change your default branch on GitHub by going to your GitHub repository in your browser, and navigate to Settings > Branches
and click on the dropdown and switch from master
to main
and click Update
(this will only show if you have two or more branches). The main
branch is now your default branch.
Update the tracking of the branch from your command line with the following command:
- git branch -u origin/main main