![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术文档
jury2018
这个作者很懒,什么都没留下…
展开
-
sed相关命令及操作
sed -i 's/\-->/ /g' name.txt 替换每一行中的-->为空格 sed -i 's/^/mv& /g' name.txt 在行首追加mv sed 's/$/&TAIL/g' test.file 行尾追加 sed -i '2s/^.*$/pei/' name.txt 替换一行 ^行首 $行尾 sed里面双引号和单引号的区别,如果是单引号,不能引用变量,双引号的原创 2018-01-24 11:38:20 · 205 阅读 · 0 评论 -
git建立远程仓库及gi相关命令
1、建立一个文件夹2、进入文件夹,git init3、git add 文件 4、git commit -m ""5、git remote add origin 远程仓库地址6、 git push -u origin master 第一次推送7、 git remote set-url origin https://gitcafe.com/xxx/Help.git设置新的远程仓库地址8、git che...原创 2018-02-24 14:13:18 · 655 阅读 · 0 评论