
6 Feb
2024
6 Feb
'24
11:08 p.m.
I'm not not an expert, but this is what I do
I checkout a new branch
$ git checkout origin -b test-some-more-drivers
Soon after I make the first changes, I commit them
$ git commit -a
Then as I continue my work, I continue to amend my commit
$ git commit -a --amend
Yep, this, but be sure to:
$ git fetch origin
(assuming origin is my repo) as a first step every time, as that's what updates your tree from mine. Since the problem is your tree/branch is behind, this is important obviously, as git doesn't know and that's why it's submitting lots of stuff again.
--Dan