git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: webmaster@peter-speer.de
To: git <git@vger.kernel.org>
Subject: git diff
Date: Wed, 12 Oct 2016 12:50:56 +0200 (CEST)	[thread overview]
Message-ID: <1066408917.43087.1476269456819.JavaMail.open-xchange@app06.ox.hosteurope.de> (raw)

Hi.

I created a new branch named hotfix from master.
I switched to the branch, changed 1 file.

Now I want to see the diff from the both using

git diff hotfix master

I do not see any output (difference).
When I do a git status I see my file with status mofified, not staged for
commit.
Also, I can see that I am working with the correct branch, hotfix

What am I doing wrong?

-fuz

             reply	other threads:[~2016-10-12 10:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-12 10:50 webmaster [this message]
2016-10-12 11:06 ` git diff Mike Rappazzo
2016-10-12 13:51   ` webmaster
     [not found] <AANLkTi=ASvicFGaaDfqxjOxJELWPLKsQwvk7rEeT36Fh@mail.gmail.com>
2011-01-13 22:46 ` Carter Lamb
2011-01-17 22:30   ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1066408917.43087.1476269456819.JavaMail.open-xchange@app06.ox.hosteurope.de \
    --to=webmaster@peter-speer.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).