Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git diff of a file

git diff file-name

#you can also add an alias on Mac
alias gd="git diff"
alias add_alias="code ~/.zshrc" #open the file in vscode
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #diff #file
ADD COMMENT
Topic
Name
8+2 =