User Tools

Site Tools


git_fetch_pull_push

This is an old revision of the document!


Overview

Fetching, pulling and pushing.

Pruning

Introduction

See man git-fetch, section “PRUNING”.

Fetching and pruning

$ git branch -r
  origin/HEAD -> origin/master
  origin/WIP-syscall
  origin/master
  origin/proc-cmdline
$ git fetch --prune
From https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
 - [deleted]                   (none)     -> origin/WIP-syscall
 - [deleted]                   (none)     -> origin/proc-cmdline
$ git branch -r
  origin/HEAD -> origin/master
  origin/master
$

Just pruning

$ git remote prune <name>
git_fetch_pull_push.1552039089.txt.gz · Last modified: 2019/03/08 09:58 by rpjday