Home  Home  Home  Kontakt  Kontakt  Kontakt  Inhalt  Inhalt  Inhalt  Blog  Blog  Blog  FAQ  FAQ  FAQ

git remote

git help remote

Zeigen aktuelle Einstellung 

git remote -v 
# git remote -v show
origin	https://github.com/it-gro/hugo-theme-w3css-basic.git (fetch)
origin	https://github.com/it-gro/hugo-theme-w3css-basic.git (push)

git remote -v show origin
origin	https://github.com/it-gro/hugo-theme-w3css-basic.git (fetch)
origin	https://github.com/it-gro/hugo-theme-w3css-basic.git (push)
git remote show origin
* remote origin
  Fetch URL: git@gitlab.com:it-gro/foo.git
  Push  URL: git@gitlab.com:it-gro/foo.git
  HEAD branch: master
  Remote branch:
    master tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (up to date)

URL ändern 

git remote set-url origin git@github.com:it-gro/bar/foo.git