Umgebungsvariablen | git-Directory
cat .git/config
Ausgabe:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://bitbucket.org/wackowiki/wackowiki.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[gitg]
mainline = refs/heads/master
git remote show origin
Remote-Repository origin
URL zum Abholen: https://github.com/WackoWiki/wackowiki.git
URL zum Versenden: https://github.com/WackoWiki/wackowiki.git
Hauptbranch: master
Remote-Branches:
4.3 gefolgt
5.0 gefolgt
5.5 gefolgt
6.0 gefolgt
master gefolgt
Lokaler Branch konfiguriert für 'git pull':
master führt mit Remote-Branch master zusammen
Lokale Referenz konfiguriert für 'git push':
master versendet nach master (aktuell)
Im Ordner: git/wackowiki/:
(Evtl. besser: Testumgebung/...)
Entferntes Repository hinzufügen
git remote add ewdev https://eony.org/Testumgebung/[...]kstatt-DevRepository
Entfernte Repositories anzeigen
git remote -v
Ausgabe
ewdev https://eony.org/Testumgebung/[...]kstatt-DevRepository (fetch)
ewdev https://eony.org/Testumgebung/[...]kstatt-DevRepository (push)
origin https://github.com/WackoWiki/wackowiki.git (fetch)
origin https://github.com/WackoWiki/wackowiki.git (push)