Select Page
Examples of my most useful IIS rewrite rules

Examples of my most useful IIS rewrite rules

Over the years of working as a .NET software developer, I noticed that I use the same IIS rewrite rules over and over again on different projects to solve the same business problems. Below I share examples of the most useful IIS rewrite rules which I use. Keep all...
How to merge branches in Git without auto-commit

How to delete Git branch both locally and remotely

Delete Git branch locally can be done by providing -d parameter to git branch command. In some cases, git can complain that a branch is not fully merged, and it will refuse to delete it, in that case, you can use -D parameter (capital D), it will force Git to remove...
How to merge branches in Git without auto-commit

View changes before committing in Git

Usually before committing changes in Git developer verifies one last time all changes he did. Normally we use git difftool command in order to do it. In that case, git will ask you a question if you want to see changes before opening each file. When the number of...
How to merge branches in Git without auto-commit

How to change the last commit message in Git

Sometimes you did make a commit, but forget to add the ticket number into the commit message, or realized that the commit message is incorrect or contains some spelling mistakes. In git, you can easily change the last commit message without changing any files, just...
How to merge branches in Git without auto-commit

How to undo the last commit in Git

There are a number of ways to undo changes you commit into a git repository, it depends on what exactly you want to change or undo and how. For example, the most common task is to change comment text for your commit, in this case, you can follow instructions from How...
How to merge branches in Git without auto-commit

How to create a branch from tag name in Git

Usually, after deployment to the production environment a new tag is created in git marking successful production deployment, so later when working on defects it would be much easy to investigate any issues, having the same code as deployed to production. The best way...