There are 4 articles tagged as "diff"
on January 21, 2020. in Development. A 1 minute read.
After some bigger rebases in git, I have to compare a file between two branches, most often master
and the current branch.
Continue reading Compare files across branches...
on January 02, 2020. in Development, Software. A 1 minute read.
Yesterday I was looking at a rather large diff, but for the type of change I was after, I wanted to look only at the newly added files. Turns out, git diff has a filtering option with --diff-filter
.
Continue reading Filter git diff by type of change...
on December 20, 2016. in Development, Software. A 3 minute read.
I’m looking at git diffs every day, all day. Diffs hold a lot of information that can be valuable, and I think it’s a good thing to know how to fully read a git diff.
Continue reading Anatomy of a git diff...
on December 12, 2016. in Software, Development. A 1 minute read.
One thing I recently learned about git, is the -v
or --verbose
flag for the git commit
command. It shows the diff of what is being commited in $EDITOR
below the commit message
template. Taken directly from man git commit
:
Continue reading Verbose commiting...