git_bash_notes
This is an old revision of the document!
find out whether a terminal is cygwin or git bash
uname -s | cut -f 1 -d '-'
terminal | output |
---|---|
git bash | MINGW64_NT |
cygwin | CYGWIN_NT |
See also:
- https://github.com/KamarajuKusumanchi/sampleusage/blob/master/bash/compare_strings.sh - shell script snippet to branch off code based on terminal type.
git_bash_notes.1628719976.txt.gz · Last modified: 2021/08/11 22:12 by raju