Git
Yeira
常常期待,有时惊喜
展开
-
git发布
git initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin https://github.com/yyeira/Auth.gitgit push -u origin main…or push an existing repository from the command linegit remote add origin https://github.com/yyei原创 2022-01-16 18:25:05 · 115 阅读 · 0 评论 -
修改了github用户名后,博客的更改
进入本地博客的文件夹,根目录下找到_config.yml文件,最后面的# Deployment下,做相对应的修改# Deploymentdeploy: type: git repo: https://github.com/[new]/[new].github.io.git branch: master第二步:到自己的github,进入自己博客的仓库第三步:修改仓库的名字,输入新的名字[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-KkH1coF2-16原创 2020-11-26 08:47:27 · 645 阅读 · 0 评论 -
关于git提交各种情况
Git global setupgit config --global user.name “XXX”git config --global user.email"XXX@XX.com"Create a new repositorygit clone git@gitlab.(ssh地址).gitcd somethingtouch README.mdgit add README.mdgit commit -m "add README"git push -u origin master原创 2020-09-22 21:29:23 · 77 阅读 · 0 评论 -
gitlab.starobserve.com‘s password公钥问题
当时在学校机房创建的项目,后来在在自己电脑上提交 就老是 在命令 git push -u origin master卡住 不上去附加 提交命令如下cd existing_foldergit initgit remote add origin git@gitlab.starobserve.com:android_ui_cs_56/something.gitgit add .git commit -m "Initial commit"git push -u origin mastergit p原创 2020-09-19 12:20:25 · 1846 阅读 · 0 评论