jokerai 最近的时间轴更新
jokerai

jokerai

V2EX 第 499745 号会员,加入于 2020-07-19 00:12:14 +08:00
jokerai 最近回复了
2022-01-24 10:45:19 +08:00
回复了 yhhsuf 创建的主题 奇思妙想 能从新西兰弄点啥到国内去卖?
新西兰赚钱 CHN 炒股炒基金是吧
2021-09-26 17:08:36 +08:00
回复了 wensonsmith 创建的主题 奇思妙想 非设计师怎么样能拥有自己独一无二的头像呢?
2021-08-27 14:22:38 +08:00
回复了 left7341 创建的主题 分享发现 真的很喜欢这种复古风格的日记软件
好神奇
@x86 #39 what a candidate
2021-06-17 17:08:28 +08:00
回复了 JKeita 创建的主题 职场话题 人生迷茫,求指点,快 29 岁了该不该二线去一线呢
派分身去,自己不去
DOM 解析生命周期
异步脚本、延迟脚本与 DOMContentLoaded 的关系
https://www.cnblogs.com/Bonnie3449/p/8419609.html
上面少了一步, 应该是

touch .gitignore
nano .gitignore 写入 2.txt
git add .gitignore
git commit -m 'update gitignore'
“不需要 git 管理 / 把文件踢出 git 管辖区 / 让 git 无视这个文件的存在吧” 的设置是应该放在 .gitignore 里的
如果误操作了,则先更新 .gitignore 文件并 commit,再对此文件把它移出去、commit 一次、再把它移回来就 OK
参考
https://stackoverflow.com/questions/1274057/how-to-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitignore/1274081#1274081

例子
cd testDir1
git init
touch 1.txt 2.txt 3.txt 4.txt 5.txt
git add 1.txt 2.txt
git commit -m 'update'

touch .gitignore
nano .gitignore 写入 2.txt
git commit -m 'update gitignore'

把 2.txt 移到外面目录( git 管辖区文件夹的外面)
git add 2.txt
git commit -m 'update'

把 2.txt 移到目录( git 管辖区文件夹)
git status

此后 2.txt 不会再被 git 管辖
2021-04-09 16:03:45 +08:00
回复了 guichina 创建的主题 分享创造 数字游民指南 1.0 正式上线,送一年 VIP
Y3NqMDMwNUBxcS5jb20=
谢谢
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2835 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 14:33 · PVG 22:33 · LAX 07:33 · JFK 10:33
Developed with CodeLauncher
♥ Do have faith in what you're doing.