man git diff command not working
Title
Question
PS C:\Users\mohit\mywebpage> man git diff
help : A positional parameter cannot be found that accepts argument 'diff'.
At line:1 char:1
+ man git diff
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [help], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,help
Git Basic-commands-of-Git 11-12 min 0-10 sec
Answers:
Dear Mohit
The command git diff requires 2 filenames.
Show changes between the working tree and the index or a tree, changes
between the index and a tree, changes between two trees, changes
between two blob objects, or changes between two files on disk
between the index and a tree, changes between two trees, changes
between two blob objects, or changes between two files on disk
Kindly execute the command by specifying the filenames.
Login to add comment