ops · · 17 分钟

mysql用户管理

用户创建用户1234567891011121314-- 创建用户,并允许其在任何IP登陆create user 'username'@'%' identified by 'password';-- 创建用户,并允许其在任...

ops · · 1 分钟

git免密拉取代码

方式1: 通过公钥和私钥进行ssh拉去代码生成公钥和私钥命令 1ssh-keygen 拉去代码 1git clone git@github.com:username/repository.git 方式1: 配置.netrc 来源: https://go.dev/doc/faq...

ops · · 2 分钟

在项目中git中常见分支及其作用

master/main分支master/main分支是主分支,包含了已经发布到生产环境的稳定,可靠版本的代码。一般情况下,master/main分支应该只用于发布新版本,而不应该直接修改或提交新的功能。 develop分支develop分支是开发分支...