[gelöst] github: wie commits von einem repository in ein anders übernehmen?

Begonnen von Ralf9, 27 Oktober 2019, 19:07:47

Vorheriges Thema - Nächstes Thema

Ralf9

Hallo,

ich möchte gerne alle commits von hier:
https://github.com/Ralf9/fhem-mirror/commits/master/fhem/FHEM/14_CUL_TCM97001.pm

in ein neues leeres repository übernehmen:
https://github.com/Ralf9/14_CUL_TCM97001

Mir ist aber nicht so richtig klar wie ich dabei vorgehe.
Ist dies mit cherry pick möglich oder gibt es dafür eine bessere Möglichkeit?
Ist dafür TortoiseGit geeignet?

Ein git clone von beiden repositories habe ich schon gemacht.

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

CoolTux

Zitat von: Ralf9 am 27 Oktober 2019, 19:07:47
Hallo,

ich möchte gerne alle commits von hier:
https://github.com/Ralf9/fhem-mirror/commits/master/fhem/FHEM/14_CUL_TCM97001.pm

in ein neues leeres repository übernehmen:
https://github.com/Ralf9/14_CUL_TCM97001

Mir ist aber nicht so richtig klar wie ich dabei vorgehe.
Ist dies mit cherry pick möglich oder gibt es dafür eine bessere Möglichkeit?
Ist dafür TortoiseGit geeignet?

Ein git clone von beiden repositories habe ich schon gemacht.

Gruß Ralf


Es sollte doch gehen in dem du das Repo local kopierst und dann ins neue Repo pusht
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Ralf9

Ich möchte nicht das gesammte Repro übernehmen, sondern nur das 14_CUL_TCM97001.pm
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

CoolTux

Ach so verstehe. Oh man da wüsste ich auch nicht wie das am besten geht.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Ralf9

Ich habe mal versucht ein git remote add vom meinem fhem-mirror repository zu machen, aber irgendwas passt da nicht:
Ralf@Ralf4 MINGW64 ~/Documents/GitHub
$ git remote add orgin https://github.com/Ralf9/fhem-mirror
fatal: Not a git repository (or any of the parent directories): .git

FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

CoolTux

Du musst ja auch erst ein lokales git erstellen. Entweder mit git init . oder mit git copy
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Ralf9

ZitatDu musst ja auch erst ein lokales git erstellen.
Danke für die Tipps, ich habe es inzwischen hinbekommen.

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7