Windows only:
- Install gpg4win
or download it from https://gpg4win.org
winget install gnupg.Gpg4win
Windows only:
winget install gnupg.Gpg4winHere 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.
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
.gitignore with the folder/file name you want to ignore. You can use anyone of the formats mentioned below (prefer format1)### Format1 ###
node_modules/