User Tools

Site Tools


git_fetch_pull_push

Table of Contents

Overview

Fetching, pulling and pushing.

Fetching

$ git fetch [origin]
$ git fetch ln
$ git fetch --all

Before fetching, remove any remote-tracking references that no longer exist on the remote.

$ git fetch [-p|--prune]]

Pushing

$ git push origin thisbranch:thatbranch
$ git push origin --delete <branchname>
git_fetch_pull_push.txt · Last modified: 2019/04/04 03:20 by rpjday