git config user.name //获取当前登录的用户
git config user.email //获取当前登录用户的邮箱
git config --global user.name 'userName' // 修改登陆账号,userName为git账号
git config --global user.email 'email' // 修改登陆邮箱,email为git邮箱
git config --global user.password 'password' // 修改登陆密码,password为git密码
//下载代码 命令行进入自己想要放代码的目录
git clone https://gitee.com/xxx
//上传代码
git init
git add .
git commit -m '第一次提交'
git remote add xxx https://gitee.com/xxx
git push xxx master
收集的一些Git命令,备忘。