►
Description
Just showing how to add small commits to tweak an original commit and then at the end fixing them up all without disturbing any other commits in the branch, potentially added by another collaborator (eg Backend).
A
So
to
see
what
you've
changed
right
right
so
say
that
you
wanted
to
change
something
to
make
a
branch
is
just
doesn't
make
sense,
but
just
for
the
sake
of
example.
Alright,
so
you
have
this
diff
and
I
want
to
add
that
change
right.
So
I
add
that
file
right
to
those
two
staged
and
now,
instead
of
writing
a
commit
message.
I
can
just
fix
up
right.
A
I'm
gonna
need
the
hash
of
the
commit,
so
just
second
so
I'll
copy
the
hash
of
the
commit,
and
now,
instead
of
writing
a
commit
message.
I'll
be
writing,
get
commit
fix
up
in
the
hash
of
the
committee
right,
so
what
he
did
he
created
a
commit
that
has
the
word
fix
up
at
the
beginning
and
then
the
same
message
as
the
title
of
the
of
the
original
commit.
Now
we
can
do
all
the
things.
Let's
say
that
the
second
page
I.
A
Can
change
something
it's
and
now
you
went
ahead
and
you
wanted
to
use
no.
This
is
actually
another
change.
I'm,
just
faking
changes
just
for
the
sake
of
argument
now,
I,
don't
even
have
to
think
about
what
I
wrote,
what
to
write
as
a
commit
message,
because
I
could
just
like
get
commit
search
back
into
history.
A
Sorry,
yeah!
What
we're
doing
right
use
the
same
command
that
I
used
before
exactly
the
same
cuz
that
hasn't
changed
yet
so
I'll
just
commit
fix
up,
and
now
the
history
will
be.
This
fix
up
that
I
wrote
earlier,
and
this
can
be
that
I
wrote
now
and
I
have
a
back
end
comedian
to
me
in
the
middle
right.
So
now
what
I
want.
A
I
want
to
rebase
them
all,
and
I
want
to
squash
this
and
this
into
Samantha's
original
commit
right,
so
I'll
grab
this
hash
of
the
previous
commit
it
rebase
I
keep
the
hash
that
I'm
gonna
be
rebasing
on
and
give
the
command
auto
squash,
as
you
can
see
automatically
the
commits
already
in
order
right
that
he
gets
pulled
the
the
tool.
Add
the
two
commits
up
to
the
the
one
we're
gonna
want
to
merge
and
already
change
from
pick
to
fix
up.
So
all
I
have
to
do
here.
A
A
A
See
is
this
doesn't
have
the
back
end.
That's
a
separate
commit
right,
so
this
was
the
two
changes
that
I
had
done.
I
first
added
is
then
I
added
this
so
they're
all
now
in
the
same,
commit
and
I
could
just
and
push
force
which
I
won't
do,
because
it's
just,
for
example,
okay.
So
that's
basically
it
yeah.
Thank
you.