开发者

How can I git-archive remotely and from a Branch?

开发者 https://www.devze.com 2023-01-29 02:23 出处:网络
I\'d like to get a tarball directly from a remote git server and from the tip of a branch fo开发者_Go百科r my PHP deployment script, it would simpler than keeping a useless clone on the production ser

I'd like to get a tarball directly from a remote git server and from the tip of a branch fo开发者_Go百科r my PHP deployment script, it would simpler than keeping a useless clone on the production server.

Is that possible ?

Thanks,

Nico.


The clone on the production server is not useless. It mitigates having to transfer all the necessary objects when you decide to deploy again. I'm not sure that it would be much simpler if you didn't need to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消