Remotes

Wir können die Git Remotes einfach untersuchen:

git remote show (zeigt Remote Bezeichner) gefolgt von git remote show origin

$ git remote show origin
* remote origin
Fetch URL: https://github.com/.../testing.git
Push  URL: https://github.com/.../testing.git
HEAD branch: master
Remote branches:
    B          new (next fetch will store in remotes/origin)
    master     tracked
    octodog    new (next fetch will store in remotes/origin)
    testbranch tracked
Local branch configured for 'git pull':
    master merges with remote master
Local refs configured for 'git push':
    master     pushes to master     (local out of date)
    testbranch pushes to testbranch (local out of date)

Diese Analyse zeigt

  • Origin URLs

  • zwei neue Branches: B und octodog

  • Local Branches master und testbranch sind out of date und bereits tracked

Natürlich benötigen wir für solchen Anfragen die ausreichenden Berechtigungen.