What do these git symbols mean?

In git, what does the at symbol and curly braces mean?

git reset --soft HEAD@{1}

Likewise, what do double hyphens mean? Not as an option, but as used like so:

  • gitpython creating zip archive
  • Adding doskey for an application in windows8
  • 2 svn -> 1 git. How to map two svn repositories into one git with two branches with common origin?
  • Powershell displays some git command results as error in console even though operation was successful
  • How do you stage parts of a new file?
  • Using Visual Studio 2012's built-in merge tool with Git
  • git checkout abcd1234 -- .

    I’m sure this is referenced somewhere obvious, but I’m having a hard time finding it. Also, searching for non-alphanumeric symbols is difficult.

  • Using Vundle behind Proxy
  • Upgrading Git Bash to run newly downloaded ruby 2.0.0
  • Git or Subversion for a TFS user
  • Bitbucket doesn't save the vendor files
  • How to recover deleted remote branch in Git
  • How do I add file to remote Git repo (Github) without cloning the whole repo first
  • One Solution collect form web for “What do these git symbols mean?”

    The at and curly braces are documented in the gitrevisions manual page.

    In your example, it means the prior value of the HEAD ref – whatever commit HEAD pointed to before your most recent commit or checkout or whatever.

    The double hyphens separate flags from non-flags (usually filenames, but sometimes other things like branch names or remote names). You can use -- to make sure git doesn’t treat the argument after the -- as a flag, in case it might look like one.

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