Rammus

A Taiwan Developer

Home Archives About Me DevOps Toolkit
2017-07-31

Git - Update .gitignore and remove from repository

當 .gitignore 需要刪除掉已經上傳的資料時,除了在 .gitignore 裡面加入資料(資料夾)名稱外,還必須執行以下指令才能刪除掉已經上傳的資料。

git rm -r --cached node_modules/
Share 留言
  • Git
Newer
Dockerize Play Framefork Application and Deploy to GitLab Registry
Older
Hexo - pagination

標籤

  • API1
  • AWS15
  • Alert1
  • Blog1
  • CD6
  • CI5
  • ChatOps1
  • Cloudflare1
  • Cloudflare Worker1
  • DNS2
  • DevOps24
  • Devops1
  • Docker15
  • EC24
  • ElasticSearch2
  • Express2
  • GCP4
  • GKE4
  • Git3
  • GitLab4
  • GitOps5
  • Github3
  • Github Action1
  • Gradle2
  • Grafana2
  • Hexo5
  • Homebrew1
  • How I Mess Up in Production1
  • IAM1
  • IntelliJ1
  • Java5
  • Jenkins1
  • Kubernetes18
  • Linkerd1
  • Linux6
  • Mac3
  • Meetup2
  • MongoDB4
  • MySQL1
  • News2
  • Node.js4
  • PHP1
  • Play Framework2
  • Python3
  • RDS2
  • S31
  • SES1
  • SQS1
  • SSL3
  • SSM1
  • Scrum1
  • Security4
  • Serverless1
  • Service Mesh1
  • Software1
  • Sublime1
  • Swagger1
  • Ubuntu1
  • Wordpress3
  • c9.io2
  • terminal2
  • 讀書心得1

標籤雲

API AWS Alert Blog CD CI ChatOps Cloudflare Cloudflare Worker DNS DevOps Devops Docker EC2 ElasticSearch Express GCP GKE Git GitLab GitOps Github Github Action Gradle Grafana Hexo Homebrew How I Mess Up in Production IAM IntelliJ Java Jenkins Kubernetes Linkerd Linux Mac Meetup MongoDB MySQL News Node.js PHP Play Framework Python RDS S3 SES SQS SSL SSM Scrum Security Serverless Service Mesh Software Sublime Swagger Ubuntu Wordpress c9.io terminal 讀書心得

彙整

  • 20223
  • 20211
  • 202011
  • 201921
  • 20185
  • 201710
  • 201627
  • 20152

最新文章

  • Devops - Highway Strategy 高速公路策略
  • Github Action - Can't use gh-cli in self-runner in Enterprise
  • Kubernetes - ExternalSecret is not authorized to perform:secretsmanager:GetSecretValue
  • Kubernetes - Increase metrics-server resources (cpu/memory)
  • Docker Update Rate Limit Policy on 2020-08-24 懶人包
  • Docker New Retention Policy on 2020-08-13
  • How I debug a certificate didn't renew
  • AWS Route 53 - 實測 Geolocation Routing
  • Linkerd 2.8 - 實現超級簡單又安全的多叢集(multicluster) Kubernetes 架構
  • Kubernetes - Access another cluster services with service account token
Creative Commons License
Copyright © 2015-2023 Rammus Xu
All website licensed under CC BY-NC-ND 4.0 Powered by Hexo
Home Archives About Me DevOps Toolkit