Commit fd3c3661 authored by 王进波's avatar 王进波

update

parent 62063a3b
......@@ -47,9 +47,10 @@
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# 从SVN到Git
edit-by:王进波 2018.08
## 安装Git-Windows
......
# CityWebService服务代码结构调整
edit-by:王进波-2018.08.10
调整如下:
- 从CityWebService中移除了ConfCenter 和 Web4 文件夹
- 在CivDevelop分组下分别创建了独立的ConfCenter和 Web4 Git仓库
- 在CityWebService下创建 [Symbolic link](https://civpub.vicp.net:8443/wangjinbo/Svn-to-Git/blob/master/%E8%AE%A9Git%E6%94%AF%E6%8C%81Windows%20Symbolic%20link.md) (符号链接)来指向上面移除的两个文件夹
### 对开发环境有什么影响?
1. 要将 ConfCenter 和 Web4 的仓库`clone`到CityWebService同级目录下,如下图
![1533895742718](imgs/1533895742718.png)
2. 要重新`clone` CityWebService的代码,让Symbolic link 生效
> 具体操作如下:
>
> 1. 将自己的分支`dev-yourname` push到远程的`dev-yourname`分支
>
> 2. 删除本地的CityWebService仓库,也就是上图第一个红框的文件夹
>
> 3. 在同样的路径下重新` clone` 该仓库代码
>
> ```shell
> git clone -b dev-yourname <url> #dev-yourname是你自己的远程分支,<url> 替换成CityWebService的仓库Url
> cd CityWebService #进入代码目录
> git pull origin develop #从远程develop分支拉取最新的提交,里面包含了Symbolic link
> ```
>
> 4. 检查`clone`下来的Symbolic link是否有效,在CityWebService/ConfCenter-右键属性-如果该文件类型为快捷方式并且如下图所示,指向的目标是其它路径下的同名文件夹,则标识成功,单击该文件会自动跳转到链接的目录
>
> ![1533896373359](imgs/1533896373359.png)
......@@ -14,9 +14,10 @@
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# 签出正式开发代码,同步修改,提交
edit-by:王进波 2018.08.06
## 检查新增分组和代码
......@@ -31,7 +32,7 @@
成功打开Gitlab网页后,应该能看到自己的项目中多了一个CivDevelop分组,和分组下的3个项目,
> - CivWebService 这个项目大家不要下载
> - CityWebService 这个是后端服务项目,后端代码在此项目上开发
> CityWebService 这个是后端服务项目,后端代码在此项目上开发
> - Web4 前端项目,前端代码在这上面写
没看到新增内容的同事请联系我。
......
# Symbolic Links|符号链接
translated-by:王进波 2018.08.10
原文:[Symbolic links](https://github.com/git-for-windows/git/wiki/Symbolic-Links)
Short version: there is no exact equivalent for POSIX symlinks on Windows, and the closest thing is unavailable for non-admins by default. Therefore, symlink emulation support is switched off by default and needs to be configured by you, the user, via the `core.symlinks=true` config setting.
> 简介:Windows平台上没有与POSIX的symlinks完全对等的对象,最接近的一种类型(symbolic link)默认对非管理员用户是不可用的。所以,在安装Git-windows的时候,支持symlink 的选项默认是被关闭的,需要用户通过`core.symlinks=true` 配置项来手动配置。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment