bashgit-bashelevated-privileges

How do I always run Git Bash as an admin on Windows?


I want to run git bash on Windows as an admin, every time I open it.

My OS is Windows 10 Home 64-bit.


Solution

  • I found this result on Google:

    Set up Git Bash to always run as Administrator

    1. Click the Windows Start button and type bash.

    2. Right-click the found link and select Open file location.

    3. Right-click the menu shortcut and select Properties.

    4. On the Compatibility tab select Run this program as administrator.