GitWrap is a very simple GUI-wrapper that integrates with Windows Explorer for Git for Windows
.
The integration is done all in user mode context and requires no admin privileges.
The purpose is to take the edge off the steep initial learning curve for people that are used to graphical interfaces when working with files.
GitWrap will add a few context menus that allows the user to right-click in the Explorer to perform the most common Git tasks.
It will also add the current Git status to the top most File Explorer window.
The prerequisites for applying all features of this repo is
- PowerShell 7.2.x
- Git for Windows
- posh-git
The following provides some enancements to this solution
- TortioseGit
Windows File Explorer only support 16 static context menu per entry. To pass by this limitations, some of the code in Adam the Automator - How to Build a PowerShell Form Menu for your PowerShell Scripts will be tried out in a future version.
Apply the reg files and you are done.
To change the code, uncomment the PowerShell scripts within the reg files. Apply your changes and test by hand (no unit tests available yet).
To "complie" the script into a registry command @, run all the code, making the last row convert the here
string to Base64, and paste the resulting string to the reg command @ after Encoding
.
Remember to keep the registry command as a string.
Before applying any changes, make sure to delete the old application in key HKCU\SOFTWARE\Classes\Directory\ContextMenus\GitWrap
.
Please contact the author for any questions or if you'd like to help out.