当前位置:首页 > linux > 正文内容

git 忽略文件不起作用 .gitignore

root3年前 (2021-02-04)linux561

git rm -r --cached . git add .  

git commit -m "update .gitignore"  



git status

查看是否是"working directory clean"

扫描二维码推送至手机访问。

版权声明:本文由一叶知秋发布,如需转载请注明出处。

本文链接:https://zhiqiu.top/?id=80

分享给朋友:

相关文章

curl 的请求 和几个参数

-X [POST GET PUT DELETE]参数执行http请求的方法-d参数用于发送post的请求的数据体$curl -d'login=emma&password=123'-X POST https://google....

How to remotely monitor hosts over Telnet and SSH [Tutorial]

python ssh登录服务器In this tutorial, you will learn how to carry out basic configurations on a server with Telnet and SSH co...

linux 切割文件split

split --help 用法:split [选项]... [输入 [前缀]] 将输入内容拆分为固定大小的分片并输出到"前缀aa"、"前缀ab",...;...

centos 开启docker 服务无法被外界访问(centos是虚拟机)

现象:centos 能够被ssh 登录访问。但是用docker开启的服务就是访问不了,centos 自己可访问。开启的一个python -m SimpleHTTPServer 能够访问;原因:linux 的ip_forward设置限制了,c...

supervisor的安装使用

一、supervisor简介Supervisor是用Python开发的一套通用的进程管理程序,能将一个普通的命令行进程变为后台daemon,并监控进程状态,异常退出时能自动重启。它是通过fork/exec的方式把这些被管理的进程当作supe...

CentOS修改hostname

vi /etc/hostname写下你的hostname重启reboot启动后,查看主机名sudo hostname...