How to refresh git branches in visual studio?

ProblemDeleted remote branches are still visible in Visual Studio Team Explorer (Branches Section).SolutionYou just need to run git fetch --prune command in your solution directory using GIT Bash or…

How to rename a local GIT Branch?

If you want to rename the current branch, hit below command:git branch -m <newname>If the branch you want to rename is different from the current branch, then hit below commandgit branch -m…

How to deploy dacpac using SQLPackage.exe

You can follow below steps to deploy a database to SQL Server from the .dacpac file. To deploy the database from dacpac, we will be using SQLPackage.exe. SQLPackage.exe is a command line utility that…

Few useful PowerShell commands

Here I am sharing few important commands in PowerShell which I found useful in my day to day coding. I hope these will help you as well.To print something in consoleWrite-Output "Database publihsed…

Difference between SET and SETX in PowerShell

Both commands are used to set environment variable values in windows through command-line.SETSET is used to create new environment variable or change the value of existing environment variable. Its…

Few important GIT commands

As I am new to Git & in learning phase of it's concepts. During my learning, I found below commands quite useful. So, I thought to document my learning by writing a blog here.Useful GIT Commandsgit…