You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Launch via command line for current working directory #2775
I'd like to be able to launch the commit/changes UI for my current working directory from the command line.
E.g.,
C:\repos\my project> GitHubDesktop
# Launches GitHub Desktop to the Changes UI for me to commit my changes
My typical workflow is to do most git operations from the command line but launch a GUI for commits since GUIs are quicker for selecting specific files and lines for the commit.
I use GitExtensions right now which lets me launch gitex commit to quickly commit files in my working directory. I'd like to replace GitExtensions with GitHub Desktop in this same workflow.
Thanks! That's mostly what I want. I do have a couple nitpicks based on a few minutes of testing that though:
github . from a sub-directory in my git clone opens a prompt to add a new local repository instead of detecting the local repository I've already added.
github (without the dot) should have the same behavior as github . IMO
Activity
j-f1 commentedon Sep 19, 2017
Try
github .😃jpoehls commentedon Sep 19, 2017
Thanks! That's mostly what I want. I do have a couple nitpicks based on a few minutes of testing that though:
github .from a sub-directory in my git clone opens a prompt to add a new local repository instead of detecting the local repository I've already added.github(without the dot) should have the same behavior asgithub .IMOj-f1 commentedon Sep 19, 2017
Thanks! I’m working on a better CLI in #2372, and I’ll post your ideas over there!
jpoehls commentedon Sep 19, 2017
Thanks! I'll go ahead and close this issue out then.
For anyone finding this in the near future, I've added this PowerShell function and alias in my profile to get the behavior I wanted.
shiftkey commentedon Sep 22, 2017
@jpoehls yeah, that first issue sounds like a bug. I've opened #2832 to track it, so hopefully you won't need that workaround in the future...