首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
程序员
git pull 命令怎么指定路径?
cevincheung
·
cevin
·
2014-08-13 00:00:18 +08:00
· 4980 次点击
这是一个创建于 3701 天前的主题,其中的信息可能已经有所发展或是发生改变。
在服务器上有个任务每天自动更新代码。执行git pull /data/www提示当前没有在工作目录。必须切换到/data/www才行。
git pull要怎么才可以?或者该用什么其他的方法?
git
pull
路径
3 条回复
•
2014-08-13 22:43:17 +08:00
1
KentY
2014-08-13 00:02:18 +08:00
1
git -C path pull
man git then /-C<Enter>
2
michaelzlies
2014-08-13 11:29:59 +08:00 via iPad
如果有数据库更新的话楼主是怎么处理的
3
cevincheung
OP
2014-08-13 22:43:17 +08:00
@
michaelzlies
扫描SQL目录,执行后删除
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
877 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 21:39
·
PVG 05:39
·
LAX 14:39
·
JFK 17:39
Developed with
CodeLauncher
♥ Do have faith in what you're doing.