If referential integrity has been broken:
git config --get remote.origin.url
If referential integrity is intact:
git remote show origin
When using
Source : http://stackoverflow.com/questions/4089430/how-can-i-determine-the-url-that-a-local-git-repo-was-originally-cloned-from
git clone
(from github, or any source repository for that matter) the default name for the source of the clone is "origin". Using git remote show
will display the information about this remote name.Source : http://stackoverflow.com/questions/4089430/how-can-i-determine-the-url-that-a-local-git-repo-was-originally-cloned-from
No comments:
Post a Comment