When doing merge in Git, it automatically commits merge results if no conflicts exist. That behaviour can be changed when –no-commit parameter provided. How to merge in Git without commit git merge branch-name –no-commit –no-ff
Window PowerShell provides a number of helpful CmdLets for managing windows services, such as New-ServiceGet-ServiceRestart-ServiceResume-ServiceSet-ServiceStart-ServiceStop-ServiceSuspend-Service And create a new Windows Service using PowerShell...
In this video, I will show how to secure your contact form with Google reCapture v3 on ASP.NET MVC. The video shows step by step guide of Creating a new instance of reCapture key in Google admin console;generating the token on the contact form;submitting token to the...
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...
When deploying the ClickOnce application to the client, usually there is a requirement to display the application version. It’s possible to hardcode the application version in the configuration file or use the assembly version. But when deploying the ClickOnce...
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...
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...
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...
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...
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...