User Tools

Site Tools


git_adding_remotes

This is an old revision of the document!


Overview

How to add, use and delete remotes, using Linux kernel source repo as an example.

Add a new remote

Currently one remote:

$ git remote -v
origin	https://github.com/torvalds/linux.git (fetch)
origin	https://github.com/torvalds/linux.git (push)
$

Query linux-next before adding it as a remote:

$ git ls-remote https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git_adding_remotes.1552045977.txt.gz · Last modified: 2019/03/08 11:52 by rpjday