Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Curious result from "git" completion



Bart Schaefer wrote:
[...]

Can't look at the completion issue right now, but I see Nikolai has
picked it up already.

> I was attempting completion in hopes of answering the question, "What's the
> simple git equivalent of 'cvs export'?" to which I still have no answer.

This would be "git archive".

The exact call depends on what you want to achieve. If you want an
export to deploy something you can do it like this:

 git archive master --format=tar --prefix=zsh-export/ | tar xvf -

Other possibilities depend on what you need.

Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925



Messages sorted by: Reverse Date, Date, Thread, Author