git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Implement git-staged, an alias for 'git diff --cached'.

From
Pascal Obry <pascal@obry.net>
Date
Oct 29, 2008, 14:58 UTC
Message-ID
<49087A21.1080508@obry.net>
In-Reply-To
<1225237145-95435-1-git-send-email-dsymonds@gmail.com>
What about :
   $ git config --global alias.staged "diff --cached"
I'm using this since some time.
-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Previous: Jeff KingNext: Felipe Contreras
Message 24 of 25 in “Implement git-staged, an alias for 'git diff --cached'.”
  1. Implement git-staged, an alias for 'git diff --cached'.David Symonds, Oct 28, 2008
  2. Jeff KingOct 28, 2008
  3. Implement git-staged, an alias for 'git diff --cached'.David Symonds, Oct 28, 2008
  4. Jeff KingOct 29, 2008
  5. Implement git-staged, an alias for 'git diff --cached'.David Symonds, Oct 29, 2008
  6. Johannes SchindelinOct 29, 2008
  7. Jeff KingOct 29, 2008
  8. Wincent ColaiutaOct 29, 2008
  9. Johannes SchindelinOct 29, 2008
  10. Stephan BeyerOct 29, 2008
  11. Johannes SchindelinOct 29, 2008
  12. Wincent ColaiutaOct 29, 2008
  13. Johannes SchindelinOct 29, 2008
  14. Pascal ObryOct 29, 2008
  15. Wincent ColaiutaOct 29, 2008
  16. Teemu LikonenOct 29, 2008
  17. David KågedalOct 29, 2008
  18. Johannes SchindelinOct 29, 2008
  19. Wincent ColaiutaOct 29, 2008
  20. Stephan BeyerOct 29, 2008
  21. Jeff KingOct 29, 2008
  22. Brandon CaseyOct 29, 2008
  23. Jeff KingOct 29, 2008
  24. Pascal ObryOct 29, 2008
  25. Felipe ContrerasOct 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.