Re: Newbie question: how can I list added files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/23/10 9:15 PM, Bruce Korb wrote:
> P.S. Is it really so rare that someone would want this info that it should
> wind up being so obscure?  I now have a new alias:
> 
>    alias git-ls-staged="git diff --cached --name-only"

Did you know git has a builtin support for aliases?
  $ git config --global alias.ls-staged "diff --cached --name-only"

tom

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]