Skip to content

Shkodenko Taras

web development and system administration of Linux

  • Drawing
  • PHP Mentorship Program
  • Privacy Policy
  • About

Git remove file from index (assume unchanged)

Git
January 24, 2018July 27, 2022 ~ tadmin

The command below will tell git you want to start ignoring the changes to the file:

# git update-index --assume-unchanged path/to/file

When you want to start keeping track again:

# git update-index --no-assume-unchanged path/to/file

Share This Blog Post

Posted in Git changesgitignoreindex

Published by tadmin

View all posts by tadmin

Post navigation

‹ PreviousYii2 Framework console built-in web server can’t start
Next ›mysql and mysqldump –defaults-file without a password

Support My Work!

Categories

  • Apache
  • CMS
  • Databases
  • Docker
  • Drupal
  • Git
  • Laravel
  • Lean
  • Linux
  • macOs
  • Magento
  • MySQL | MariaDB
  • Nginx
  • PHP
  • Pimcore CMS
  • Plesk
  • PostgreSQL
  • Server configuration
  • Symfony
  • Uncategorized
  • WordPress
  • Yii2
DigitalOcean Referral Badge

Tags

.htaccess Apache archive array bash certificate composer diff docker Drupal ffmpeg find git git best practices grep IPTables Laravel Laravel best practices Laravel tips Linux Linux file management MySQL mysqldump Odin openssl PHP PHP development Pimcore Plesk PostgreSQL ProFTPD script Security sed shell software development ssh ssl Symfony system administration tar ubuntu web development wordpress zip

Donations

You can support this project if you like what I'm writing

Recent Posts

  • Happy 34th Birthday, Linux
  • Laravel Best Practices: Repository Pattern for Clean and Scalable Code
  • How to Find Large Files on Ubuntu Linux (and Clean Up Disk Space)
  • 🔍 How to Verify Inserted Rows Using a CTE in SQL (WITH expected AS Pattern)
  • How to create a simple IP address tracker with geolocation in Symfony 6+
  • How to Open Unverified Apps on macOS: MarkText Example
  • What is Docker and Why Developers Should Care

Search

  • GitHub
  • YouTube
  • Telegram
  • Patreon
  • Instagram
  • Pinterest
Proudly powered by WordPress ~ Theme: Shcom-child by Taras Shkodenko.