So where is it? I checked the usual suspects, namely Program Files and Program Files (x86), but I didn't see any mention of GitHub there.
Accidentally deleted the Git Shell shortcut
Asked Answered
I know someone offered an answer but deleted it for whatever reason before I could accept it, so here goes.
You need to create a shortcut to a command, which is actually rather convoluted.
- Right-click on the desktop and do New > Shortcut
- Browse to any file, but make sure it's not a .exe file!!
- Click next through the rest of the wizard and accept the defaults
- Now right-click the shortcut, go to Properties > Shortcut tab
- Set the Target to: "C:\Documents and Settings\\AppData\Local\GitHub\GitHub.appref-ms" --open-shell
- In step 5 above, the quotes are required.
If you use a .exe file for step 2, when you get to step 4 you'll notice that there's no Shortcut tab. That confused the crap out of me, but apparently it's a Windows thing. Whatever. –
Halfslip
on windows 7 i ended up using a target of "%LOCALAPPDATA%\GitHub\GitHub.appref-ms --open-shell" –
Otterburn
A better solution is to run
%LOCALAPPDATA%\GitHub\GitHub.appref-ms --reinstall-shortcuts
which will recreate the shortcut on the desktop.
© 2022 - 2024 — McMap. All rights reserved.