How to Revert a Git Commit

Git is a powerful version control system, but sometimes you may need to revert a commit. Maybe you made a mistake in your code, or maybe you want to go back to a previous version of your project. Whatever the reason, here’s how you can easily revert a Git commit.

Create GitHub Actions to makes and Commit Changes

In this article, I will show how I step-by-step created a github action that checkout, zipped, and added the zipped file to the repo, each time I commit to main.

When packaging and deploy an application, there are cases that the build process needs to make changes to the branch before, during, or after the build and commit that changes to the repository. A common example is when cutting a release build, a version number can be updated and then checked back into the future branches of the repo.

Git Merge vs Git Rebase

If you’ve worked with Git long enough, you’ve probably heard this debate: “Should we use git merge or git rebase?” Both commands combine changes from different branches, but they do…

Git Rebase –force-with-lease vs –force

Why --force-with-lease is safer Short answer --force overwrites the remote branch no matter what --force-with-lease only overwrites it if no one else has pushed since your last fetch That single…