git

查看項目 git 配置

cat .git/config
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = [email protected]:xxx/xxx.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "develop"]
	remote = origin
	merge = refs/heads/develop
[gitg]
	mainline = ""

查看全局配置

git config --global --list
[email protected]
user.name=username
http.postbuffer=524288000
core.editor=vim
push.default=simple

更改郵箱

git config --global user.email "[email protected]"

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章