Skip to content

Instantly share code, notes, and snippets.

View soranoo's full-sized avatar

Freeman soranoo

  • 07:24 (UTC +01:00)
View GitHub Profile
@xavierfoucrier
xavierfoucrier / gpg-signing.md
Last active March 31, 2025 11:40
GPG signing with Git and Github Desktop

GPG signing – git github-desktop

Here is a short guide that will help you setup your environment to create signed commits or signed tags with Git locally. This has been extensively tested on Windows with Git and the Github Desktop application: I use it every day for my professional development projects.

I you face any issue, feel free to leave a comment below.

Summary

  1. Sign commits or tags
  2. Key passphrase
  3. Disable signatures
  4. Renew a GPG key
@pavankjadda
pavankjadda / How to fix gitignore not working issue.md
Last active March 27, 2025 18:23
How to fix "gitignore not working" issue

FYI: Created blog post with more details

How to fix ".gitignore not working" issue?

Sometimes git does not exclude files/folders added .gitignore especially if you had commited them before. Here is how to fix it. I am ignoring node_modules from Angular project as an example

  1. Update .gitignore with the folder/file name you want to ignore. You can use anyone of the formats mentioned below (prefer format1)
### Format1  ###
node_modules/