Closed A2Data closed 2 years ago
建议增加 git配置项,主要针对 码云 github gitlab等仓库 可以多仓库管理。 做高可用备份。 命令都是一套,主要是配置管理。大概如下
Host 数据源名称 HostName github.com IdentityFile ~.ssh\id_rsa --- key PreferredAuthentications publickey User name
Host gitlab HostName gitlab.com IdentityFile ~.ssh\id_rsa_sql --key文件 PreferredAuthentications publickey User name
Host 码云 HostName github.com IdentityFile ~.ssh\sqlsq_id_rsa PreferredAuthentications publickey User jackfeng
建议增加 git配置项,主要针对 码云 github gitlab等仓库 可以多仓库管理。 做高可用备份。 命令都是一套,主要是配置管理。大概如下
配置github.com
Host 数据源名称 HostName github.com IdentityFile ~.ssh\id_rsa --- key PreferredAuthentications publickey User name
配置SQL
Host gitlab HostName gitlab.com IdentityFile ~.ssh\id_rsa_sql --key文件 PreferredAuthentications publickey User name
配置SQLSQ
Host 码云 HostName github.com IdentityFile ~.ssh\sqlsq_id_rsa PreferredAuthentications publickey User jackfeng