►
Description
In this video, I demonstrate a technique of using `vimdiff` and `git show` to compare a file which was deleted and replaced with an existing one.
A
So
I'm
gonna
try
to
show
a
technique,
I
use
when
reviewing
em
ours
that
are
replacing
files
with
other
files.
Some
of
those
files
are
still
existing
and
you
just
want
to
make
sure
hey.
What's
actually
gonna
be
different
here,
so
in
this
very
awesome
community
contribution,
there
are
some
strong
duplication
between
this
Hamel
view
and
this
Hamel
view
one
of
the
things
that
we're
doing
along
with
consolidating
this
is
we're
also
renaming
some
of
these
IDs.
A
I'm
gonna
go
to
copy
this
file
path
and
I
kind
of
do
all
my
coding
and
vias
code,
even
though
I'm
gonna
run
them
diff,
I
kind
of
just
do
it
here
in
this
terminal
you
could
probably
output.
It
differ,
use
some
other
kind
of
dipping
tool,
but
here's
what
I
do
I'm
gonna
run
them
diff,
I'm,
gonna,
pipe
to.
A
It
is
no
longer
there.
This
admin
session
is
one
because
it's
got
deleted,
so
I
could
like
try
to
check
it
out
or
other
things,
but
this
actually
really
cool
git
exposes
a
really
handy
and
robust
command
of
show,
which
you
might
be
using
to
show
commit
information,
but
it
can
also
just
show
files,
so
I
I
specify
the
ref
that
I
want
to
show
the
information
for
that
file,
so
I'm,
looking
at
where
it's
not
deleted,
which
is
in
origin/master
and
then
I
do
:
path
to
the
file.
So
this
is
actually
any
output.
A
This
command
gets
show.
This
whole
thing
is
going
to
output
the
contents
of
that
file
at
that
ref,
very
cool,
and
then
I
want
to
compare
it
to
this
file,
which
is
on
disk
I.
Don't
need
good
to
do
that.
I
could
just
use
cat,
and
here
we
go
so
now
side
by
side,
I
see
the
things
that
have
changed
between
the
two
files,
this
changing
from
UTF
to
token
to
a
fee
to
f8
to
if
a
is
expected,
this
is
just
a
comment
that
changed.
A
It
seems
expected
like
even
like,
when
I
do
this
mint,
if
stuff
I'll
even
delete
lines,
that
I
know
are
just
irrelevant
just
to
make
sure
it
all
lines
up,
but
I
can
see
that
the
most
significant
change
is
here.
We
had
something
about
UTF
device,
but
now
we're
being
a
little
bit
more
abstract
about
that
message,
which
is
fine,
because
it's
we're
playing
on
supporting
a
different
device
very
soon,
and
then
this
form
tag
in
this
if
block
over
here
are
different
and
so
I
want
to
make
sure.
A
Okay
are
we
passing
the
right
parameters
so
that
this
is
looking
correct
and
the
only
thing
I
see
is
that
instead
of
admin
session
path,
we're
doing
target
path?
It
looks
like
any
of
this.
Remember
me
stuff.
We
actually
don't
want
to
show.
So
if
I
go
back
to
here,
yep
render
remember
me
as
false
and
yep.
This
target
path
is
the
admin
session
path,
so
I
think
we're
looking
pretty
good.