git status
git add
git clone
git push
git commit....
Why doesn’t Git bash allow you to type git commands like:
status
add
clone
push
And then for all non git command type “nongit” or something
nongit cd
nongit ls...
or is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is so internal git commands no not clash with existing shell commands.
In modern CLI tools like git functionality is often broken into subtools which are invoked with an internal command. These commands can then take specific arguments which unclutters the tool interface.
git statusmeans “invoke thestatuscommand ofgit“.