Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Svn-to-Git
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王华
Svn-to-Git
Commits
4d9d4832
Commit
4d9d4832
authored
Nov 26, 2018
by
王进波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f5b05699
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
让Git支持Windows Symbolic link.md
doc/让Git支持Windows Symbolic link.md
+11
-2
No files found.
doc/让Git支持Windows Symbolic link.md
View file @
4d9d4832
...
...
@@ -61,4 +61,14 @@ mklink /d this-link-points-to c:\that-directory #创建目录类型的symbolic
mklink this-link-points-to c:
\t
hat-file
#创建文件类型的symbolic link
```
因为执行
`mklink`
需要管理员权限,所以在Windows命令行中执行
`mklink`
时需要用管理员权限启动命令行工具。
\ No newline at end of file
补充:
因为执行
`mklink`
需要管理员权限,所以在Windows命令行中执行
`mklink`
时需要用管理员权限启动命令行工具。
如果希望创建的符号链接通过相对路径指向目标文件或文件夹,则相对路径中的分隔符要用反斜杠
`\` 。上面的示例就要写成这样,创面符号链接,指向父级目录中的目标对象:
```
mklink /d this-link-points-to ..\that-directory #创建目录类型的symbolic link
mklink this-link-points-to ..\that-file #创建文件类型的symbolic link
``
`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment