Skip to content
Menu
ScriptingNerd
  • Home
  • Quick Tips
  • GitHub
ScriptingNerd

Category: Git

PS C:\> Get-BlogPost -ID e8f4939

Running a Powershell script on your code before a git commit using pre-commit

Posted on November 1, 2024October 30, 2024 by Patrik

If you’re looking to use PowerShell with the open-source framework called pre-commit, this isn’t the right article for you. Instead, I’ll be focusing on Git’s built-in pre-commit functionality without relying on any third-party tools. If that sounds confusing, don’t worry, I’ll explain this later on. I just wanted to clarify this at the beginning so…

PS C:\> Get-BlogPost -ID 6c37010

Fixing CERT_TRUST_IS_UNTRUSTED_ROOT when using Git on Windows

Posted on September 6, 2024September 5, 2024 by Patrik

When using git on windows you may run in to this error message when trying to interact with a remote git repo unable to access 'https://gitserver.local/MyTeam/MyRepo/': schannel: CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT This happens when the repo is on a server with a certificate your git client does not trust. What can be a bit unintuitive…

PS C:\> Get-BlogPost -ID 46991b1

How to sign your git commits on Windows to get verified checkmark on GitHub

Posted on August 11, 2023September 26, 2025 by Patrik

GitHub has this feature where they can show/verify if commits have been signed by the user or not, usually you only see it when people have done changes from the web interface but it is actually possible to sign the commits that you do on your computer as well and have GitHub recognize it as…

  • Image

    Patrik Johansson
    Developer

    Coming from a background as a Senior System Administrator I am working with a wide flora of enterprise systems.

    Passionate about Powershell and building tools that are easy to use for everyone.

    In my spare time I work on other coding projects as well, mainly Booksonic and Home Assistant integrations

    LinkedIn GitHub Blog

Recent Posts

  • Finding out how many queries your DB handles
  • How to open a program as your user on another users desktop remotely
  • Getting nested nuget dependencies using Powershell
  • A digital Sticky note that is always on top
  • How to quickly find the path of exe / binary / command files on you computer

Archives

  • September 2025
  • May 2025
  • November 2024
  • September 2024
  • January 2024
  • August 2023
  • February 2023
  • April 2022
  • November 2021
  • March 2020
  • December 2019
  • February 2019

Categories

  • Device Management
  • Git
  • Powershell
  • Quick Tips
  • Below are affiliate links, if you click on them and buy something I may earn a small amount of money without any additional cost to you. Any links found here are for products I am using myself and can vouch for.
  • InterServer
    Very cheap SSD/HDD based virtual servers (VPS). Starting at $6/month for 1TB. Use coupon code BOOKSONIC and get the first month for just 1 cent. I have recently started using intersever for personal projects and so far I am very happy with them.
  • Contabo
    Cheap HDD/SSD/NVMe based Virtual servers (VPS)
    I have used Contabo for years both for my private needs as well as to host the booksonic demo server
©2026 ScriptingNerd | Powered by Superb Themes
Advertisement