[git]git终端源保存用户名密码配置

wangyetao@linux_u1604:~/Desktop/未命名文件夹/list$ git config --list
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/wangyetao/list.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master

wangyetao@linux_u1604:~/Desktop/未命名文件夹/list$ git config --list
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/wangyetao/list.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
credential.helper=store//+ok

wangyetao@linux_u1604:~/Desktop/未命名文件夹/list$ cat .git/config 
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = https://github.com/wangyetao/list.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master


wangyetao@linux_u1604:~/Desktop/未命名文件夹/list$ cat .git/config 
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = https://github.com/wangyetao/list.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master

[credential]//+这句
	helper = store//+这句

你可能感兴趣的:([版本管理工具],git,git用户名密码,版本控制工具,版本管理)