![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
叫我林接接就好了
这个作者很懒,什么都没留下…
展开
-
git上传代码冲突
git上传代码冲突原创 2022-08-06 15:41:10 · 2904 阅读 · 0 评论 -
python 报错:invalid syntax (<string>, line 3)
python 报错:invalid syntax (<string>, line 3)原创 2022-06-22 18:10:47 · 970 阅读 · 0 评论 -
git新建分支并提交代码
1、创建仓库,新建分支并提交代码到远程仓库1.在本地新建文件夹,右键点击Git Base Here,打开git命令行设置用户信息 git config --global user.name "guohuitian" //设置用户名 git config --global user.email "xxx@foxmail.com" //设置邮箱初始化代码仓库,并文件提交至缓存区 git init //初始化仓库 git add . //添加所有文件至缓存区 git comm原创 2022-03-19 19:18:37 · 4615 阅读 · 0 评论 -
使用git提交代码到仓库报错总结
1、warning: LF will be replaced by CRLF in.idea/inspectionProfiles/profiles_settings.xml使用git add . 提示错误信息(warning),报错: warning: LF will be replaced by CRLF in.idea/inspectionProfiles/profiles_settings.xml. The file will have its original line endings i原创 2022-03-19 18:48:29 · 1932 阅读 · 0 评论 -
github上传/更新/删除文件
一、上传文件git initgit add .git remote add origin https://github.com/tianguohui/python.gitgit commit -m "first commit"git push -u origin master二、更新文件git add *git commit -m "update"三、删除文件1、拉去镜像2、删除本地代码3、删除仓库代码4、push推送代码git clone https://github.co原创 2020-08-23 20:55:33 · 143 阅读 · 0 评论 -
gitlab自动备份脚本以及备份到远程服务器上
#!/bin/bashlocal_gitlab_backup_path=/var/opt/gitlab/backups/homelocal_gitlab_backup_path=/home/zhongjiao/gitlab_backups/remote_gitlab_backup_path=/home/zhongjiao/gitlab_backupsremote_user=zhongjiaoremote_ip=10.xx.xx.181date=`date +%Y-%m-%d_%H:%M:%S`原创 2020-07-19 10:55:03 · 400 阅读 · 0 评论