Re: [git-users] avoid git deleting tags file
I can't try it until afternoon, but isn't it enough to pass -e tags after -xfd? From the --help snippet it seems so. On 4 Sep 2013 06:34, dexter ietf dexter.i...@gmail.com wrote: On Tuesday, September 3, 2013 8:07:06 PM UTC+5:30, William Seiti Mizuta wrote: Hi Dexter, you are using option x in git clean command. In the manual, the option x tells: -x Don’t use the standard ignore rules read from .gitignore (per directory) and $GIT_DIR/info/exclude, but do still use the ignore rules given with -e options. This allows removing all untracked files, including build products. This can be used (possibly in conjunction with git reset) to create a pristine working directory to test a clean build. So, if you don't want to delete files in .gitignore, just don't use the option x, only the options f and d: git clean -fd William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Sep 3, 2013 at 10:33 AM, dexter ietf dexte...@gmail.com wrote: hi, when i run git clean -xfd, git deletes my tags file. i have the tag file listed in gitignore, but how do i tell git not to remove the tags file. -dexter -- 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+...@**googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . as simple as that, thanks for the help. i should have rtfm, but it scares that s***t out of me once i open the manual. -- 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.
Re: [git-users] avoid git deleting tags file
Hi Dexter, you are using option x in git clean command. In the manual, the option x tells: -x Don’t use the standard ignore rules read from .gitignore (per directory) and $GIT_DIR/info/exclude, but do still use the ignore rules given with -e options. This allows removing all untracked files, including build products. This can be used (possibly in conjunction with git reset) to create a pristine working directory to test a clean build. So, if you don't want to delete files in .gitignore, just don't use the option x, only the options f and d: git clean -fd William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Sep 3, 2013 at 10:33 AM, dexter ietf dexter.i...@gmail.com wrote: hi, when i run git clean -xfd, git deletes my tags file. i have the tag file listed in gitignore, but how do i tell git not to remove the tags file. -dexter -- 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.
Re: [git-users] avoid git deleting tags file
On Tuesday, September 3, 2013 8:07:06 PM UTC+5:30, William Seiti Mizuta wrote: Hi Dexter, you are using option x in git clean command. In the manual, the option x tells: -x Don’t use the standard ignore rules read from .gitignore (per directory) and $GIT_DIR/info/exclude, but do still use the ignore rules given with -e options. This allows removing all untracked files, including build products. This can be used (possibly in conjunction with git reset) to create a pristine working directory to test a clean build. So, if you don't want to delete files in .gitignore, just don't use the option x, only the options f and d: git clean -fd William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Sep 3, 2013 at 10:33 AM, dexter ietf dexte...@gmail.comjavascript: wrote: hi, when i run git clean -xfd, git deletes my tags file. i have the tag file listed in gitignore, but how do i tell git not to remove the tags file. -dexter -- 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+...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. as simple as that, thanks for the help. i should have rtfm, but it scares that s***t out of me once i open the manual. -- 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.