代码拉取完成,页面将自动刷新
git config --global user.name #name 设置用户签名
git config --global user.email #email 设置用户邮箱
+++
git init 初始化本地库
git status 本地库状态
$ git status 本地库状态
On branch master
No commits yet
nothing to commit (create/copy files and use "git add" to track) # 还没有文件
$ git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
test.txt
nothing added to commit but untracked files present (use "git add" to track)
git add #filename
git config --list #查看git配置信息
查看用户名,密码和邮箱命令:
git config user.name
git config user.password
git config user.email
设置或修改用户名,密码和邮箱命令:
git config user.name "freedom"
git config user.password "123456"
git config user.email "12345678@qq.com"
切换分支
git checkout branchName
查看分支
git branch -a
# 进入C:\Users\Admin\.ssh
# 生成公钥
ssh-keygem -t rsa
许可证:开源是否可以随意转载,开源但不能商业使用、不能转载,...限制
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。