Changes

Jump to navigation Jump to search
469 bytes added ,  20:35, 5 September 2017
Adds diff example
<source lang="bash">
git diff -U0 --color myfile | sed -r "s/^([^-+ ]*)[-+ ]/\\1/"
</source>
 
== What is this miscellaneous file, and how does it compare to what's in my repo? ==
Say you've got a config file lying around (untracked) in your local working tree. It's not in your current project branch, but you know it's an important file. How does it compare to what's in the *freephile* remote, *es128* branch version of the file?
<source lang="bash">
git diff freephile/es128:config/core/MezaLocalExtensions.yml config/core/MezaLocalExtensions.yml
</source>
4,558

edits

Navigation menu