当我们将 .gitignore 文件配置好后,却往往不能失效。这是因为 .gitignore 只能忽略那些没有被追踪(track)的文件,因为 git 存在本地缓存,如果文件已经纳入了版本管理,那么修改 .gitignore 是不能失效的。那么解决方案就是要将 git 的本地缓存删除,然后重新提交。 ...
分类:
其他好文 时间:
2021-01-19 12:00:13
阅读次数:
0
ssh公钥生成 ssh-keygen 设置邮箱账号 git config --global user.email "you@example.com" 设置码云昵称 git config --global user.name "Your Name" ...
分类:
其他好文 时间:
2021-01-19 11:59:24
阅读次数:
0
https://www.cnblogs.com/mr-wuxiansheng/p/6974170.html ...
分类:
其他好文 时间:
2021-01-19 11:57:04
阅读次数:
0
restic -o s3.bucket-lookup=dns -o s3.region=oss-cn-beijing -r s3:https://xxx(bucket_name).oss-cn-beijing.aliyuncs.com init 需要修改代码, Go语言不太熟悉, 改的合不合理不太清 ...
分类:
其他好文 时间:
2021-01-19 11:54:37
阅读次数:
0
1.先创建仓库 $ git init $ git remote add origin https://gitee.com/用户个性地址/仓库名.git 2.执行:$ git pull origin master 3.修改/添加文件 $ git add . $ git commit -m "第一次提交 ...
分类:
其他好文 时间:
2021-01-19 11:48:32
阅读次数:
0
引子 解决 CentOS 7 下 Git 超时后,发现库还是太大,要花费比较长的时间,还是让其在后台运行比较好,这样不用一直保持登录。找了下资料,总结一下。 Origin My GitHub 相关知识点 Shell Shell 是一种命令语言,也是一种程序设计语言。它是用户使用 Linux 的桥梁。 ...
分类:
其他好文 时间:
2021-01-19 11:47:02
阅读次数:
0
// 創建自定義參數以配置管道 rs2::config cfg; // 設定影像尺寸(寬w,高h) const int w = 640; const int h = 480; // 設定欲顯示的影像流(可依需求啟動不一定要全設) cfg.enable_stream(RS2_STREAM_COLOR, ...
分类:
其他好文 时间:
2021-01-19 11:45:53
阅读次数:
0
static int __init hello_init(void) { printk(KERN_EMERG "[ KERN_EMERG ] Hello Module Init\n"); printk( "[ default ] Hello Module Init\n"); return 0; } ...
分类:
其他好文 时间:
2021-01-18 11:37:08
阅读次数:
0
首选,确认是用root用户登录系统的。 输入命令: id ,查看登录用户信息。3若修改root自己的密码,直接输入 passwd . 输入两遍,新密码即可。 4若修改其他用户,如oracle 的密码,可直接输入passwd oracle. 输入两遍性新密码即可。 5这样就修改成功了。 centos7 ...
分类:
系统相关 时间:
2021-01-18 11:27:39
阅读次数:
0
查看远程仓库地址别名 git remote -v $ git remote -v origin https://github.com/qingzhuan/demo01.git (fetch) origin https://github.com/qingzhuan/demo01.git (push) ...
分类:
其他好文 时间:
2021-01-18 11:23:59
阅读次数:
0