Prerequisites
- Paradime IDE access.
- A git repository initialized in your Paradime workspace (connect a repository).
- A GitHub account, to add your signing key.
Steps
1
Create the setup script
In the Paradime IDE, create a new file called
setup_git_signed_commits.sh with the following content:2
Make the script executable
Open the Paradime terminal and run:
3
Run the setup script
Execute the script:When prompted, enter a comment for your key (typically your name and email address).
4
Add your signing key to GitHub
- Copy the public key printed in the terminal output.
- Go to your GitHub account settings: https://github.com/settings/keys.
- Click New SSH key.
- Choose Signing Key as the key type.
- Paste your public key in the provided field.
- Give your key a descriptive title.
- Click Add SSH key.
Every new commit you make in this repository is now signed automatically. View a new commit on GitHub and confirm it shows a Verified badge. If it does not, recheck that the key was added with the Signing Key type in step 4.
Next steps
Protect the main branch
Require pull requests and reviews before merging to main.
Explore Git history with GitLens
Inspect authorship and history in the Code IDE.
Connect a GitHub repository
Set up your repository connection in Paradime.
Version control in the Code IDE
How commits, branches, and pushes work in Paradime.