Git remote: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
  origin https://gogs-cicd.apps.openshift.novaordis.io/gogs/novaordis-session-servlet.git (fetch)
  origin https://gogs-cicd.apps.openshift.novaordis.io/gogs/novaordis-session-servlet.git (fetch)
  origin https://gogs-cicd.apps.openshift.novaordis.io/gogs/novaordis-session-servlet.git (push)
  origin https://gogs-cicd.apps.openshift.novaordis.io/gogs/novaordis-session-servlet.git (push)
=Sub-Commands=
==show==
==add==
==update==
==prune==
==remove, rm==

Revision as of 21:17, 11 December 2017

Internal

Overview

Manages remotes. It can be used to view, create, manipulate and remove a remote. The end result of executing the command is a modification of the corresponding .git/config [remote] entry.

Operations

List the Remotes of the Current Repository

git remote -v
origin	https://gogs-cicd.apps.openshift.novaordis.io/gogs/novaordis-session-servlet.git (fetch)
origin	https://gogs-cicd.apps.openshift.novaordis.io/gogs/novaordis-session-servlet.git (push)

Sub-Commands

show

add

update

prune

remove, rm