Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议把Extend中的所有文件直接放在仓库根目录下 #23

Open
baolimath opened this issue Jul 21, 2013 · 4 comments
Open

建议把Extend中的所有文件直接放在仓库根目录下 #23

baolimath opened this issue Jul 21, 2013 · 4 comments

Comments

@baolimath
Copy link

建议把Extend中的所有文件直接放在仓库根目录下,同时把仓库名extend改为Extend。这样就可以直接CLONE到本地ThinkPHP文件夹下了,而且保持了正确的目录结构。现在的情况CLONE时成了ThinkPHP/extend/Extend/...

@GongT
Copy link

GongT commented Jul 22, 2013

我以前说过这个问题…………
最好吧Extend和ThinkPHP两个库都弄正常一点………………

比如
/ThinkPHP/Core/ThinkPHP.php
/ThinkPHP/Core/.git/ --> liu21st/ThinkPHP
/ThinkPHP/Core/.gitignore => "Extend"
/ThinkPHP/Core/Extend/
/ThinkPHP/Core/Extend/.git/ --> liu21st/Extend

@baolimath
Copy link
Author

我是先CLONE的核心版本,添加.gitignore忽略所有属于自己的项目文件,和ThinkPHP/Extend
希望liu21st/extend中的所有文件直接放在仓库根目录下,这样我就可以把我本地的ThinkPHP/Extend再作为仓库CLONE liu21st/extend,但目前来看导致的结果是ThinkPHP/extend/Extend/...这种结构,不知道大家是怎么操作的?

@GongT
Copy link

GongT commented Jul 23, 2013

写脚本自动更新……

@baolimath
Copy link
Author

有没有相关的教程?我还是入门阶段,不太懂啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants