Difference between revisions of "Git remote"

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

Revision as of 12:16, 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: