git remote

From wikieduonline
Revision as of 12:15, 17 September 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search

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: