Difference between revisions of "Git remote"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  git remote
 
  git remote
 
  [[origin]]
 
  [[origin]]
 +
 +
git remote -v
 +
origin  [email protected]:your-project/your-repo.git ([[fetch]])
 +
origin  [email protected]:your-project/your-repo.git ([[push]])
  
 
== See also ==
 
== See also ==

Revision as of 12:15, 17 September 2021

git remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <url>
git remote add origin git@gitserver:/srv/git/project.git
git remote
origin
git remote -v
origin  [email protected]:your-project/your-repo.git (fetch)
origin  [email protected]:your-project/your-repo.git (push)

See also

Advertising: