Skip to content

Instantly share code, notes, and snippets.

@AndrewSav
Last active November 11, 2022 11:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewSav/db048b4eccedc4cf8211 to your computer and use it in GitHub Desktop.
Save AndrewSav/db048b4eccedc4cf8211 to your computer and use it in GitHub Desktop.
How to pin Git Shell to the taskbar (Windows 7/8)
I was looking how to pin Git Shell to the taskbar,
I got this answer from Github support (hope it can help other people) :
Hi Fabien,
Windows is annoying in that it doesn't let you pin certain items to the taskbar.
However, there is a clever way to trick it into allowing you to do this.
1) Right-click on the 'Git Shell' shortcut and go to the 'Target' text box
2) Add the word 'explorer' in front of the line
3) Drag-and-drop the 'Git Shell' icon to the taskbar
4) Right-click on the pinned icon, then right-click on 'Git Shell' again and select 'Properties'
5) Remove the 'C:\Windows\explorer.exe' from the beginning of the 'Target' box
6) The shortcut should now open the default shell and stay pinned
Hope this helps. Let me know if you have any issues.
Cheers,
Steve
@pedrofracassi
Copy link

Thanks, this worked perfectly! (Windows 10)

@Boniwayne
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment