How do determine the URL of a remote git repo?

Derek Johnson

I'm trying to add a git repo on a team mates computer as a remote on mine, but can't figure out the correct syntax for the part after git remote add john

I have the path to his sites folder and can clone, push and pull. I just can't figure out the remote add.

I'm on a Mac, he's on a PC. The path to his sites is mounted (I think that's the right word) so I can get it at /Volumes/Users/Public/Sites

Can anyone help?

I appreciate some people don't see this as something worthwhile, I've heard and seen the arguments on both sites, thanks.

Derek Johnson

Ok, I was overthinking it. All I had to do was git remote add john /Volumes/Users/Public/Sites/test

I was trying to figure out the equivalent of [email protected]:User/repo.git and getting in a tangle.

Thanks for the answers folks, I appreciate it.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do determine the URL of a remote git repo?

From Dev

How do I restore a remote crashed Git repo?

From Dev

How to compare local with remote git repo in PhpStorm?

From Dev

How to cleanup garbage in remote git repo

From Dev

Git: How to remove secondary remote repo

From Dev

How to switch to a new remote repo in git?

From Dev

How to compare GIT Remote Repo and local in Netbeans

From Dev

Git / GitHub: How to get new local repo into empty remote repo

From Dev

How do you change the 'master' branch of a cloned Git repo to point to your own remote?

From Dev

How do I tell git to ignore my local changes, but leave the file in my remote repo?

From Dev

How do I pull from a git repo on a remote machine through ssh?

From Dev

How do you change the 'master' branch of a cloned Git repo to point to your own remote?

From Dev

How do I push a new repo to a remote?

From Dev

Working with remote repo git

From Dev

Git clone remote repo into another remote repo

From Java

Git: How to remove remote origin from Git repo

From Java

Git - How to remove remote by URL

From Dev

How Jenkins can determine change in a specific folder for a GIT repo?

From Dev

How to remove a file from git repo on local and remote

From Dev

How can I grant access to a remote git repo?

From Dev

How to disconnect local git repo from remote master

From Dev

How can I push a git repo to a remote server through ssh?

From Dev

How to perform some action when a user pushes to a remote git repo

From Dev

How can I push a git repo to a remote server through ssh?

From Dev

How do I backup a git repo?

From Dev

git sparseCheckout repo pushes full repo to remote

From Dev

Push git alias to remote repo

From Dev

Git remote repo, not showing the files

From Dev

Failure to push to remote repo in Git

Related Related

  1. 1

    How do determine the URL of a remote git repo?

  2. 2

    How do I restore a remote crashed Git repo?

  3. 3

    How to compare local with remote git repo in PhpStorm?

  4. 4

    How to cleanup garbage in remote git repo

  5. 5

    Git: How to remove secondary remote repo

  6. 6

    How to switch to a new remote repo in git?

  7. 7

    How to compare GIT Remote Repo and local in Netbeans

  8. 8

    Git / GitHub: How to get new local repo into empty remote repo

  9. 9

    How do you change the 'master' branch of a cloned Git repo to point to your own remote?

  10. 10

    How do I tell git to ignore my local changes, but leave the file in my remote repo?

  11. 11

    How do I pull from a git repo on a remote machine through ssh?

  12. 12

    How do you change the 'master' branch of a cloned Git repo to point to your own remote?

  13. 13

    How do I push a new repo to a remote?

  14. 14

    Working with remote repo git

  15. 15

    Git clone remote repo into another remote repo

  16. 16

    Git: How to remove remote origin from Git repo

  17. 17

    Git - How to remove remote by URL

  18. 18

    How Jenkins can determine change in a specific folder for a GIT repo?

  19. 19

    How to remove a file from git repo on local and remote

  20. 20

    How can I grant access to a remote git repo?

  21. 21

    How to disconnect local git repo from remote master

  22. 22

    How can I push a git repo to a remote server through ssh?

  23. 23

    How to perform some action when a user pushes to a remote git repo

  24. 24

    How can I push a git repo to a remote server through ssh?

  25. 25

    How do I backup a git repo?

  26. 26

    git sparseCheckout repo pushes full repo to remote

  27. 27

    Push git alias to remote repo

  28. 28

    Git remote repo, not showing the files

  29. 29

    Failure to push to remote repo in Git

HotTag

Archive