[wolf@daw:~/DEV/nixpkgs]$ git push myfork HEAD
To GitHub - RudiOnTheAir/nixpkgs: Nix Packages collection & NixOS
! [rejected] HEAD → add_stereotool (fetch first)
Fehler: Fehler beim Versenden einiger Referenzen nach ‘GitHub - RudiOnTheAir/nixpkgs: Nix Packages collection & NixOS’
Hinweis: Aktualisierungen wurden zurückgewiesen, weil das Remote-Repository Commits enthält,
Hinweis: die lokal nicht vorhanden sind. Das wird üblicherweise durch einen “push” von
Hinweis: Commits auf dieselbe Referenz von einem anderen Repository aus verursacht.
Hinweis: Wenn Sie die externen Änderungen integrieren wollen, verwenden Sie ‘git pull’
Hinweis: bevor Sie erneut push ausführen.
Hinweis: Siehe auch den Abschnitt ‘Note about fast-forwards’ in ‘git push --help’ für
Hinweis: weitere Informationen.
[wolf@daw:~/DEV/nixpkgs]$
You can see the list of all commits in the branch. The top ones are the last ones, i.e. yours. You can read on the line commit the ID of the commit. For instance here you have two commits:
9b03daddea1c4e3c7cded28f29ceb433caaf489c with message stereotool: init at 10.21
ad7ffca7563c23324b7b2652ed7a7340d9f4c368 with message maintainers: add RudiOnTheAir
(the commit below is b093dd8294d77aeb761a6f3c616e9e3dd9578c20 but as noted it is the latest online one from origin/master so no need to look at them)
To see the content of a commit, type (replace the ID of the commit with yours, you can also type only the first few letters like 9b03da instead of 9b03daddea1c4e3c7cded28f29ceb433caaf489c):
$ git show 9b03daddea1c4e3c7cded28f29ceb433caaf489c
and it will show you in green with a + the line that you are adding via this commit, and in red with - the lines that you are removing.
You need git push --force since you are not adding stuff on top of the online branch.
Thats really no problem. My intention was to understand what has to happen now. You are the one that gives it a ready to publish signal? Or all three left reviewers?
This is a great read if it got cleaned up you could sort of make a tutorial post from it.
Thanks to you two for being so patient with learning and teaching.
Yes, that would be maybe better to add some things to your tutorial. I have copied some parts of the thread into a office document, to have the links clickable.
Btw. Have the test install removed by entering:
nix profile list
nix profile remove 0
and for test the install part to check my documentation