Enabling git in Windows 10 command line -
i cannot seem make git work native windows command line.
have tried powershell, have path git bin in environment variables, still giving me "command not found
" when type git
. have looked @ solutions here, , none of them work me.
don't have c:/program files/git folder (or program files(x86))
.
i can make command line git work if open git desktop app , use "open terminal git enabled" option there.
that , good, except opening desktop app takes forever on laptop, , prefer able whip out command line pull code.
i open reinstalling git , following specific instructions, or installing more workable version of git, if has suggestions. thank you.
simply uncompress latest git windows release portable archive (like portablegit-2.7.2-64-bit.7z.exe) anywhere want , add path:
c:\path\to\git;c:\path\to\git\bin;c:\path\to\git\usr\bin;c:\path\to\git\mingw64\bin
you git-bash.exe
(recent 4.3+ bash based on msys2), 200+ unix commands right in regular cmd shell.
Comments
Post a Comment