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
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
08c0396c
Commit
08c0396c
authored
Aug 23, 2018
by
王进波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4f901e62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
ConfigAfterInstall.md
doc/FromSVNToGit/ConfigAfterInstall.md
+11
-3
No files found.
doc/FromSVNToGit/ConfigAfterInstall.md
View file @
08c0396c
##
#
安装完成以后需要执行的配置
## 安装完成以后需要执行的配置
第一步,配置 Git 的用户名和邮箱,这两项配置会在我们提交代码时被添加到提交信息中,这样我们查看历史的时候就可以看到这个提交作者的信息了,这两项时Git必须的设置
...
...
@@ -24,4 +24,12 @@
第四步,允许Windows符号链接
-
`git config --global core.symlinks true`
,这里设置为true才可以正确下载我们部分代码项目
\ No newline at end of file
-
`git config --global core.symlinks true`
,这里设置为true才可以正确下载我们部分代码项目
## 其他配置
### 格式化日志输出
`git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date='short'"`
设置日志输出格式,设置后在命令行中可以通过
`git hist`
查看当前仓库的提交历史
\ No newline at end of file
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