Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove .ds_store from commit

find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch

//Add this line to the file .gitignore:

.DS_Store

//Create `.DS_Store` file in the root of the project.
echo .DS_Store >> .gitignore

//Commit file
git add .gitignore
git commit -m '.DS_Store banished!'
Comment

remove ds_store git

# Ignore Mac DS_Store files
.DS_Store
**/.DS_Store
Comment

PREVIOUS NEXT
Code Example
Shell :: git how to reset only one file 
Shell :: uncommit last commit in local 
Shell :: open wine directory mac 
Shell :: how do i get the last commit 
Shell :: CommandNotFoundError: Your shell has not been properly 
Shell :: Shell CLI Argument Default Value 
Shell :: linux linebreaks script bash 
Shell :: copy ssh key directly window 
Shell :: npm install directly fron github 
Shell :: alpine linux install redis-cli 
Shell :: how to install visual studio code in ubuntu 
Shell :: screen recorder for ubuntu 
Shell :: setting missing in ubuntu 
Shell :: get list of directories bash 
Shell :: bash redirect output to null 
Shell :: stop supervisor service centos 8 
Shell :: npm install composition apiu 
Shell :: Deploy page 
Shell :: downgrade cocoapods in mac m1 
Shell :: how to change directory if folder name have space 
Shell :: docker run name 
Shell :: list of files in git commit 
Shell :: onedrive ubuntu 20.04 
Shell :: git list all remote branches 
Shell :: xamp start ubuntu 
Shell :: install deb file in ubuntu 
Shell :: bash get dir of file 
Shell :: IF NOT DIR BASH 
Shell :: heroku rebuild without push 
Shell :: bash list processes mac 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =