local to remote
This commit is contained in:
parent
a3e1345dd9
commit
44d0fdd3a2
1 changed files with 12 additions and 10 deletions
|
@ -2,11 +2,13 @@ Bei dem Error `fatal: refusing to merge unrelated histories` den Befehl `git pul
|
||||||
|
|
||||||
### Der Reponame "main" ist voreingestellt, es gehen auch andere.
|
### Der Reponame "main" ist voreingestellt, es gehen auch andere.
|
||||||
|
|
||||||
|
Am Beispiel dieses Readme.md:
|
||||||
|
|
||||||
```
|
```
|
||||||
git checkout -b main
|
git checkout -b main
|
||||||
git add README.md
|
git add README.md
|
||||||
git commit -m "first commit"
|
git commit -m "first commit"
|
||||||
git remote add origin git@teapot.informationsanarchistik.de:USERNAME/tipps_und_tricks.git
|
git remote add origin git@teapot.informationsanarchistik.de:Wobbl/tipps_und_tricks.git
|
||||||
git push -u origin main
|
git push -u origin main
|
||||||
```
|
```
|
||||||
ॐ wn@magma:~/python/tipps_und_tricks→git:(main) vi README.md
|
ॐ wn@magma:~/python/tipps_und_tricks→git:(main) vi README.md
|
||||||
|
|
Loading…
Reference in a new issue