From d72dea793175ac3b51c4e5c482403fddf8011737 Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Thu, 21 Jan 2016 13:08:45 +0100 Subject: [PATCH] Formatted git pages --- pages/common/git-fetch.md | 6 +++--- pages/common/git-init.md | 2 +- pages/common/git-rebase.md | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/common/git-fetch.md b/pages/common/git-fetch.md index d10b15843c..3dfd3fed86 100644 --- a/pages/common/git-fetch.md +++ b/pages/common/git-fetch.md @@ -1,11 +1,11 @@ # git fetch -> Download objects and refs from a remote repository +> Download objects and refs from a remote repository. -- Fetch new branches and update remote-tracking branches +- Fetch new branches and update remote-tracking branches: `git fetch {{remote_name}}` -- Fetch the latest changes from all remote git servers +- Fetch the latest changes from all remote git servers: `git fetch --all` diff --git a/pages/common/git-init.md b/pages/common/git-init.md index 4a6005cd0d..374debae02 100644 --- a/pages/common/git-init.md +++ b/pages/common/git-init.md @@ -6,6 +6,6 @@ `git init` -- Initialize a barebones repository, suitable for use as a remote over ssh +- Initialize a barebones repository, suitable for use as a remote over ssh: `git init --bare` diff --git a/pages/common/git-rebase.md b/pages/common/git-rebase.md index df67a006cb..93dd4e687b 100644 --- a/pages/common/git-rebase.md +++ b/pages/common/git-rebase.md @@ -1,19 +1,19 @@ # git rebase -> Apply local commits on top of another branch's history +> Apply local commits on top of another branch's history. -- Rebase your local branch interactively with the latest changes in local master +- Rebase your local branch interactively with the latest changes in local master: `git rebase -i master` -- Rebase your local branch interactively with the latest changes from upstream +- Rebase your local branch interactively with the latest changes from upstream: `git fetch origin; git rebase -i origin/master` -- Handling an active rebase merge failure, after editing conflicting file(s) +- Handle an active rebase merge failure, after editing conflicting file(s): `git rebase --continue` -- Abort a rebase in-progress +- Abort a rebase in-progress: `git rebase --abort`