From: Oleg Broytman Date: Mon, 24 Aug 2015 12:55:23 +0000 (+0300) Subject: Explain what the current branch is X-Git-Url: https://git.phdru.name/?p=git-wiki.git;a=commitdiff_plain;h=1143f185affa61482f106e3b0b8d5e7d1fad776c Explain what the current branch is --- diff --git a/pep-git.txt b/pep-git.txt index 404171e..c411bd9 100644 --- a/pep-git.txt +++ b/pep-git.txt @@ -209,7 +209,8 @@ The second command fetches commits from the named $BRANCH in the $REMOTE repository that are not in your repository and updates both the local branch $BRANCH and its upstream remote-tracking branch. But it refuses to update branches in case of non-fast-forward. And it -refuses to update the current branch. +refuses to update the current branch (currently checked out branch, +where HEAD is pointing to). The first command is used internally by ``git pull``.