Posts tagged as git
Sign git commits on GitHub with GPG in macOS
📆2021-01-18🍱tools
When you are pushing commits to your repositories you are authenticating with either HTTPS or SSH. Telling GitHub that it is really you. That only ensures that it's the correct user doing the pushing. You could also add an extra level of…
Access private submodules in GitHub Actions
📆2020-07-09🍱tools
Using submodules can be a simple solution to make some parts of a public repo private. For example I have separated the actual content of this blog to a private repo. Not because it's something secret (you are reading it now anyway) but it…
Automate versioning and publication of npm packages
📆2020-06-06🍱tools
A while ago I wrote a post about always writing perfect commit messages by using commit linting tools and conventional templates. This makes the commit messages look great and formatted the same way regardless of who is committing but…
Different git config for different projects or clients
📆2019-05-20🍱tools
If only working on projects with one single git service you won’t have a problem with email addresses differ between accounts. All your commits will always use the same information. But say you are using one service for private projects…
Always write perfect commit messages with Git Commitizen and Husky
📆2019-05-13🍱tools
We’ve all been there, looking at a function and don’t understand a thing of what it does. The next step is of course look at the commit message, the git blame. That will explain everything for us. Or will it? We open it up and we see this…
Keeping a forked repository up to date with the original repository
📆2019-01-26🍱tools
If you fork an existing git repository and add that fork to your own repositories it will not be in sync automatically with the original repo. That could of course be a good thing if you want to develop the project in your own direction…
Working with multiple git services simultaneously
📆2019-01-20🍱tools
If you have your git repositories spread across multiple git services, like GitHub for work and GitLab for personal, you can run into problems with your git credentials. Especially if you are using different email addresses, such as the…