Re: [git-users] "assume unchanged" bit operations
On Saturday, September 21, 2013 5:20:12 PM UTC+3, Philip Oakley wrote: > > In some case the use of the .gitignore to identify which types of files > are not relevant is better. > This is not the case. > That said, git does not (yet) have any mechanism for marking files as > 'precious' but untracked. It takes the view that precious files should be > tracked > It already has a mechanism for marking files similarly. It luck a mechanism of listing such files. Anyway and for any use case there should be a convinient way to get a list of files marked by some special bit. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] "assume unchanged" bit operations
In some case the use of the .gitignore to identify which types of files are not relevant is better. That said, git does not (yet) have any mechanism for marking files as 'precious' but untracked. It takes the view that precious files should be tracked Philip - Original Message - From: Rostislav Krasny To: git-users@googlegroups.com Sent: Saturday, September 21, 2013 2:54 PM Subject: [git-users] "assume unchanged" bit operations Hi, Git allows to set the "assume unchanged" bit to a tracking file. It helpfull for example when you work with Eclipse Java projects and don't want your local changes in the project configuration files to be tracked by git. Unfortunatelly I didn't find a convenient way of listing files with this bit set. The only way to listem them is by commands like following: git ls-files -v | grep "^[a-z] "git ls-files -v | awk '{if (match($1, "[a-z]")) print $2}'This is unhandy and not obvious. Is there a convinient way of doing it by git? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] "assume unchanged" bit operations
Hi, Git allows to set the "assume unchanged" bit to a tracking file. It helpfull for example when you work with Eclipse Java projects and don't want your local changes in the project configuration files to be tracked by git. Unfortunatelly I didn't find a convenient way of listing files with this bit set. The only way to listem them is by commands like following: git ls-files -v | grep "^[a-z] " git ls-files -v | awk '{if (match($1, "[a-z]")) print $2}' This is unhandy and not obvious. Is there a convinient way of doing it by git? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.