Power Shell: quick and easy Git version check and update

I recently complete my IT technical support course from Google, and one of the thing that I found more handy, is working on the command lines. PowerShell for me that I use windows. It is a lot more fast and easy than interacting with the GUI and offers you endless possibilities. 

Today, I will share with you how to update git on it:

first, you will need to look for the PowerShell, look for this icon:

                                                                          

Open it, and you will see something like this:


first, you can check the current version you have installed by typing: 

git --version 

The shell will tell you which current version you have installed on your computer, and if there are any other new version available, it will ask you if you want to update. With a Y/n, if you want to update, just type Y and press enter, and that's it, the PowerShell will do everything for you and, you don't need to download anything. Awesome right? 

If you like to experience more on your own, I let you the link of the official documentation of the PowerShell https://docs.microsoft.com/es-es/powershell/

If you have any question, let me know! And from my part I will try to show the information in the clearest way possible.

*if it doesn't let you update, you may need administrator's permission. If you are not the main administrator, I suggest you to ask for permission, and if you are the administrator, one thing you can do is run PowerShell as an administrator. Just click on the icon with the right button of your mouse and select run as administrator.

Hope you find these helpful!



Comentarios

Entradas más populares de este blog

Leveling Up with Angular: Intermediate Concepts for Scalable Applications

Install npm lite-server for automatic update in your browser

Mastering CSS3: The Pinnacle of Modern Web Styling