forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include $HOME\bin
into Git's PATH
when launched from /cmd/git.exe
#429
Labels
Comments
dscho
added a commit
to dscho/git
that referenced
this issue
Sep 29, 2015
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes git-for-windows#429 Signed-off-by: Johannes Schindelin <[email protected]>
Nice! Does this mean that I only need to add the cmd folder to PATH and everything will be available? |
No, it just means that Git will find the executables in |
Fair enough ;) |
dscho
added a commit
that referenced
this issue
Oct 5, 2015
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
to dscho/git
that referenced
this issue
Oct 18, 2015
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes git-for-windows#429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
to dscho/git
that referenced
this issue
Nov 7, 2015
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes git-for-windows#429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Dec 11, 2015
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Jan 5, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
to dscho/git
that referenced
this issue
Jan 12, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes git-for-windows#429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
to dscho/git
that referenced
this issue
Jan 14, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes git-for-windows#429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
to dscho/git
that referenced
this issue
Jan 15, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes git-for-windows#429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
to dscho/git
that referenced
this issue
Jan 23, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes git-for-windows#429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 13, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 13, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 13, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 15, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 15, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 15, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 15, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 20, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 20, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 22, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 22, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 22, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 25, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 25, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 25, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 26, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 26, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 27, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
dscho
added a commit
that referenced
this issue
Aug 28, 2016
`$HOME/bin/` is quite convenient a place to put user-specific Git helpers, such as credential or remote helpers. When run in Git Bash, it is therefore already appended to the PATH; Let's do the equivalent when run in Git CMD: when `git.exe` is called, Git is told to look also for scripts and programs in `$HOME/bin` (this does not modify Git CMD's `PATH`, of course). This fixes #429 Signed-off-by: Johannes Schindelin <[email protected]>
jeffhostetler
pushed a commit
to jeffhostetler/git
that referenced
this issue
Sep 30, 2021
…che-traversal Improve `next_cache_entry` cache traversal performance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should teach the Git wrapper to not only add
/mingw../bin;/usr/bin/
but also$HOME/bin
to thePATH
. That way, users can install additional executables and scripts into their%USERPROFILE%\bin
folder and they will be picked up not only from Git Bash, but also from Git CMD, and really from every application that uses/cmd/git.exe
to call Git for Windows.This is particularly useful when users want to install their add-on remote and/or credential helpers.
The text was updated successfully, but these errors were encountered: