问题描述
比如在本地建了个网站,git init,add .,commit,然后想上传到ftp,但是又不想上传git相关文件.是应该怎么操作?类似tortoisesvn里面的检出那样.
问题解答
回答1:git archive --format zip HEAD > archive.zip

问题描述
比如在本地建了个网站,git init,add .,commit,然后想上传到ftp,但是又不想上传git相关文件.是应该怎么操作?类似tortoisesvn里面的检出那样.
问题解答
回答1:git archive --format zip HEAD > archive.zip
相关文章:1. node.js - koa2插入数据成功在给前端返回状态的时候Can’t remove headers after they are sent2. node.js - nodejs ioredis All sentinels are unreachable3. node.js - 关于react服务器端渲染的问题4. node.js - RESTFUL API 除了简单的对TABLE CRUD以外,其他的功能该如何命名?5. 请问要把IP地址存入redis,应该用redis的什么类型合适?6. node.js - nodejs如何删除客户端cookie7. node.js - nodejs 性能优化问题8. node.js - 如何让nodejs应用forever自动重启?9. node.js - NodeJs定义全局变量以及并发问题10. node.js - node pm2 如何防止项目误重启删除呢?

网公网安备:皖ICP备2020019022号-8 Copyright ¢ 2020-2025 Powered by V1.8 All Rights Reserved 技术支持:乐呵呵网
声明:本站所有资源以学习为主