Re: Can we stage all files using "git add" command, except some specific files ?

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

 



On di, 2014-05-27 at 00:33 +0630, Arup Rakshit wrote:
> 
> Now, you can see, I have staged all the files first using *git add
> -A*, then _unstaging_ those I don't want to _stage_ right now. Now can
> this be done, in the *staging* time ? I mean any way to tell `git add`
> command, that add all the files from the current directory, except
> some specific files.

No, there is no such option to do that, but you could use git add
--interactive and use its interface to quickly pick the files you want
to add.

-- 
Dennis Kaarsemaker
www.kaarsemaker.net

--
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]