#2560: Missing argument for git clean
----------------------+-----------------------
Reporter: Cici | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: 0.8.8 | Keywords: git
----------------------+-----------------------
The 0.8.8 documentation states under GIT/method/fresh:
This remove all other files except those tracked by Git. First it does
git clean -d -f -x then fetch/checkout to a specified revision(if any).
However, git clean -d -f -x does not remove all untracked subdirectories
(e.g. old git submodules are not removed) as the git clean manpage states:
-d Remove untracked directories in addition to untracked files. If an
untracked directory is managed by a different git repository, it is not
removed by default. '''Use -f option twice if you really want to remove
such a directory.'''
So basically you have to use git clean -d -f -f -x.
The same issue occurs for GIT/method/clean.
--
Ticket URL: <http://trac.buildbot.net/ticket/2560>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits