Stashing untracked files

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

 



Hi All,

I'm new to git, and I have a question regarding the best way to do something.

When using "git stash," in some cases I'd like to stash away files that are currently untracked. It seems to me like there should be a way to stash everything in a working directory so that the end result is a pristine tree. Then applying the stash will reinstate those file as untracked.

I understand that is not always desired, but sometimes it is (for me anyway). Perhaps an option like "git stash -u" could provide this behavior?

Is there some other approach that makes more sense? I don't want to start looking into this until I have some idea if this is a sane idea :-)

Thanks,
Neil
-
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]

  Powered by Linux