Author Topic: Git Bash Here button - How To?  (Read 11306 times)

baursak

  • Newbie
  • *
  • Posts: 3
    • View Profile
Git Bash Here button - How To?
« on: March 21, 2021, 13:36:04 »
I want to place 'Git Bash Here' button on the Quick Launch Bar
- I follow the following standard path: "C:\Users\<User>\AppData\Local\Programs\PortableGit\" and drag 'git-bash.exe' onto Quick Launch Bar
- After click on the newly created button - Git Bash launches in "/c/Program Files/MultiCommander (x64)"
- However (like built-in 'cmd' button) I would like Git Bash to open in directory which is open in active panel
- Built-in 'cmd' button has the following 'Program parameters': /d /k cd /d "${sourcepath}"
- What 'Program parameters' have I to use in case of Git Bash?