forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
git version 2.25.1.windows.1
cpu: x86_64
built from commit: cceb69da75b4906bb04cfb3a2f7f37b12b985ec3
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Microsoft Windows [Version 10.0.18363.1256]
- What options did you set as part of the installation? Or did you choose the
defaults?
Defaults
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Nope
Details
Git-bash
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
For example, on bash on Linux, if in the terminal is written
npm
and I press the key ↑, the history only will iterate over entries that start by npm:
npm i
npm list
npm view
However, on Windows using Git-Bash, what it's already written on the terminal will be ignored and when pressing ↑ history will iterate over all entries in reverse chronological order.
npm i
git status
ls -la
npm list
- What did you expect to occur after running these commands?
If I press ↑ when npm is already typed on the terminal:
npm i
npm list
npm view
- What actually happened instead?
What is written in the terminal is ignored and history will iterate over all entries in reverse chronological order
npm i
git status
ls -la
npm list