Wireshark-dev: Re: [Wireshark-dev] git doesn't like me anymore

From: Fulko Hew <fulko.hew@xxxxxxxxx>
Date: Sun, 17 Jan 2021 19:11:11 -0500


On Sun, Jan 17, 2021 at 6:50 PM ajay saxena <aileronajay@xxxxxxxxx> wrote:
You should be able to add your changes to the existing branch by running the following commands. These commands assume you are already on the branch using which you created the PR.

git add updateFileName

Since I only modified an existing file that I had previously added,
I don't think? I need to add the file again.
git commit -m "message"

I did this and it replied about the fact that the one file changed with 'n' additions and deletions.
git push

And that's where I issued git push downstream HEAD (as per the documentation)
If I use a simple 'git push', it tells me I need to do a 'git push upstream HEAD'.

When you push the new commits to your fork that should help to update the pull request. 

To someone like me, who's been a embedded software guy for over 40 years,
(but never a git user) that statement above is confusing...
   'when you push ... it updates the pull...'  ?huh?

P.S.  While waiting for replies to this email, I tried that git push upstream HEAD
command again, but this time it asked for my ID (which it never did before).
I think I've managed to get it wrong 4 times in a row, and now I'm locked out.

Now what can I (also) do to unlock it?

(from bad to worse)  Fulko





On Sun, Jan 17, 2021 at 3:44 PM Fulko Hew <fulko.hew@xxxxxxxxx> wrote:

The subject line says it all, but it doesn't say why.
git and I just don't seem to understand one another.

I've made a new dissector, and I went through the whole process
to clone the repo, add/change my stuff, resync it, and submit
my merge request.  Now the approver(s) asked for some changes,
and although I disagreed with the need for the last one, I've
now made that enhancement too, and want to commit it and have
it merged.

But now after doing the 'git commit -a', the instructions say
I need to do 'git push downstream HEAD', but that returns the
error messages:

fatal: 'downstream' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


I'll admit, I don't understand git, let alone how to use it,
so I need help on what I need to do to get past this issue.

Thanks
Fulko


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe