随笔分类 - Git
摘要:1. 创建标签; $git tag name 2. 查看所有标签; $git tag 3.给提交过的版本打标签; $git tag name commid_id 4.git show tagname; 查看标签信息; 5.创建带有说明的标签; $git tag -a name -m "说明文字" *
阅读全文
摘要:1.查看远程仓库; $git remote $git remote -v 更详细的信息; $ git remote -v $ git remote -v origin git@github.com:zccxy/Repository.git (fetch) 抓取 origin git@github.c
阅读全文
摘要:1. 创建分支; git branch name 2. 查看分支; git branch 3. 切换分支; git checkout name 4.创建并切换分支; git checkout -b name 5.合并分支; git merge name 6.删除分支; git branch -d n
阅读全文
摘要:1.创建 ssh key; $ssh-keygen -t rsa -C "youremail@example.com" youremail@example.com为设置的邮箱 不用设置密码 一直回车; id-rsa 是私钥;id-rsa.pub 是公钥; 2. 登录GitHub; 打开Account
阅读全文
摘要:windos平台 1.安装GitHub; 下载GitHub 链接: https://pan.baidu.com/s/1qXCW4MS 密码: 2qpk; 运行git-bash.exe; 2. 设置用户名;邮箱; $git config --global user.name "yourName" $g
阅读全文

浙公网安备 33010602011771号