Reputation: 704
I tried this command
$ git Commit -m "With ViewPager"
and getting this error
fatal: cannot handle Commit as a builtin
Upvotes: 15
Views: 19387
Reputation: 99
Also it appears when you use any of the character as capital, eg: Commit It's Case sensitive solution is
Upvotes: 0
Reputation: 99
I mean the solution is always smallcase, as its case sensitive.
Upvotes: 2
Reputation: 1268
git command consider case sensitivity (https://learn.microsoft.com/en-us/azure/devops/repos/git/case-sensitivity?view=azure-devops).
so use snake case command "commit".
Upvotes: 0
Reputation: 1
I was also getting a similar error for CLONE
, fixed it by changing to clone
Upvotes: 1
Reputation: 600
This error will also occur for other functions such as:
GIT STATUS
GIT ADD
GIT COMMIT
GIT PUSH
Always use lower case lettering for commands.
Upvotes: 8