Skip to content

Instantly share code, notes, and snippets.

@li2
Last active March 20, 2018 07:03
Show Gist options
  • Save li2/6b9cecdc190565fde2068ff49c1e17d9 to your computer and use it in GitHub Desktop.
Save li2/6b9cecdc190565fde2068ff49c1e17d9 to your computer and use it in GitHub Desktop.
git remote: determine the URL that a local Git repository was originally cloned from #tags: git

If referential integrity has been broken:

git config --get remote.origin.url

If referential integrity is intact:

git remote show origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment