local to remote
This commit is contained in:
parent
a0d4d5c1f2
commit
3d5843ed14
1 changed files with 29 additions and 6 deletions
35
README.md
35
README.md
|
@ -1,11 +1,34 @@
|
|||
Bei dem Error `fatal: refusing to merge unrelated histories` den Befehl `git pull origin master --allow-unrelated-histories` verwenden und das Problem ist gelöst.
|
||||
|
||||
Der Reponame "main" ist voreingestellt, es gehen auch andere.
|
||||
### Der Reponame "main" ist voreingestellt, es gehen auch andere.
|
||||
|
||||
git checkout -b main
|
||||
git add README.md
|
||||
git commit -m "first commit"
|
||||
git remote add origin git@teapot.informationsanarchistik.de:USERNAME/tipps_und_tricks.git
|
||||
git push -u origin main
|
||||
```
|
||||
git checkout -b main
|
||||
git add README.md
|
||||
git commit -m "first commit"
|
||||
git remote add origin git@teapot.informationsanarchistik.de:USERNAME/tipps_und_tricks.git
|
||||
git push -u origin main
|
||||
```
|
||||
ॐ wn@magma:~/python/tipps_und_tricks→git:(main) vi README.md
|
||||
ॐ wn@magma:~/python/tipps_und_tricks→git:(main)
|
||||
ॐ wn@magma:~/python/tipps_und_tricks→git:(main) ✗ git push -u origin main
|
||||
Branch 'main' folgt nun Remote-Branch 'main' von 'origin'.
|
||||
Everything up-to-date
|
||||
ॐ wn@magma:~/python/tipps_und_tricks→git:(main) ✗ git commit README.md
|
||||
[main a0d4d5c] geändert: README.md
|
||||
1 file changed, 11 insertions(+), 1 deletion(-)
|
||||
ॐ wn@magma:~/python/tipps_und_tricks→git:(main) git push -u origin main
|
||||
>> Objekte aufzählen: 5, fertig.
|
||||
Zähle Objekte: 100% (5/5), fertig.
|
||||
Delta-Kompression verwendet bis zu 4 Threads.
|
||||
Komprimiere Objekte: 100% (2/2), fertig.
|
||||
Schreibe Objekte: 100% (3/3), 535 Bytes | 535.00 KiB/s, fertig.
|
||||
Gesamt 3 (Delta 0), Wiederverwendet 0 (Delta 0), Pack wiederverwendet 0
|
||||
remote: . Processing 1 references
|
||||
remote: Processed 1 references in total
|
||||
To teapot.informationsanarchistik.de:Wobbl/tipps_und_tricks.git
|
||||
83c741e..a0d4d5c main -> main
|
||||
Branch 'main' folgt nun Remote-Branch 'main' von 'origin'.
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue