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 :: debian kill open port 
Shell :: awk meaning in linux 
Shell :: random in mac terminal 
Shell :: git unrelated histories 
Shell :: add onedrive to ubuntu 
Shell :: ubuntu logout 
Shell :: unistall all homebrew packages 
Shell :: npm install Unable to authenticate, need: Bearer authorization_uri 
Shell :: bash script write linux 
Shell :: bash script count directories in directory 
Shell :: kubectl exec 
Shell :: git crdencial --cache 
Shell :: Error: Fetching /usr/local/Homebrew/Library/Taps/commands/homebrew-pup failed! 
Shell :: update dart 
Shell :: install autoconf macos 
Shell :: git change author of first commit 
Shell :: npm steps 
Shell :: undo last commit but keep changes 
Shell :: sed remove line containing 
Shell :: bash message partial match 
Shell :: extract bz2 linux 
Shell :: restart gnome shell 
Shell :: git add submodule 
Shell :: add user to group 
Shell :: git lines of code per user 
Shell :: revert to a particular commit git 
Shell :: vlc linux 
Shell :: docker run restart always 
Shell :: list all built-in commands you can run in linux 
Shell :: adb shell error: more than one device/emulator 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =