Does Git Add have a verbose switch

I am in the process of moving all my private an public repo’s over to github. One of the decisions I have made is to only use the console as it means a smaller tooling footprint if I ever need to change PCs, etc.

I would be a huge user of console applications and being new to git I decided to purchase Tekpub’s Mastering Git series since it shows you how to intergrate git bash as a toolbar.

  • git checkout refs/heads/master detaches HEAD
  • Git: Squashing consecutive commits that are not the most recent commits, and do not start at the root
  • How do you update a bare repo from a remote source using git
  • Egit - exclamation point on folder
  • How can I combine two commits into one commit?
  • How do I fast-forward other tracking branches in git?
  • Everything is working fine except for the add all command which is:

    git add .

    It seems to be working but I don’t get any indication of it working or not. Is there a verbose switch (I think that is what it would be called) that would say what files were tracked after the command is launched?

    I am using Visual Studio 2010 with the standard install of git (Not Git extensions)

  • Git connection time out trying to clone via proxy
  • Limit subject line of git commit message to 50 characters
  • How can I revert pieces of a Git commit?
  • How do I make Git always use “theirs/ours” for resolving conflicts in a particular file, during rebase?
  • How to remove unneeded git commits?
  • SSH Agent Forwarding with Ansible
  • 3 Solutions collect form web for “Does Git Add have a verbose switch”

    git 'command' --verbose


    git 'command' -v.

    Make sure the switch is after the actual git command. Otherwise – it won’
    t work!

    Also useful:

    git 'command' --dry-run 

    Well, like (almost) every console program for unix-like systems, git does not tell you anything if a command succeeds. It prints out something only if there’s something wrong.

    However if you want to be sure of what just happened, just type

    git status

    and see which changes are going to be committed and which not. I suggest you to use this before every commit, just to be sure that you are not forgetting anything.

    Since you seem new to git, here is a link to a free online book that introduces you to git. It’s very useful, it writes about basics as well as well known different workflows:

    You can use git add -i to get an interactive version of git add, although that’s not exactly what you’re after. The simplest thing to do is, after having git added, use git status to see what is staged or not.

    Using git add . isn’t really recommended unless it’s your first commit. It’s usually better to explicitly list the files you want staged, so that you don’t start tracking unwanted files accidentally (temp files and such).

    Git Baby is a git and github fan, let's start git clone.