Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git commit only added and modified files

# to commit only added files (and NOT removed ones) do:

git add . --ignore-removal
git commit -m "commit message"
Comment

git added and modified files

git whatchanged --diff-filter=AM

# [preferred] OR, very similar, but slightly cleaner/less verbose file information
git log --name-status --diff-filter=AM
Comment

PREVIOUS NEXT
Code Example
Shell :: command to restart a system service 
Shell :: shotcut download 
Shell :: terminal rename folder 
Shell :: linux docker 
Shell :: rename files linux 
Shell :: how to use https in npm install instead of ssh 
Shell :: bash zip file without parent directory 
Shell :: list pid bash 
Shell :: how to open ubuntu file in visual studio 
Shell :: how to check ssh agent is running in git bash 
Shell :: bash if unset 
Shell :: does Ubuntu MATE have ssh 
Shell :: install arch package 
Shell :: how to git commit and push 
Shell :: install ghost 
Shell :: docker exec it bash python 
Shell :: ncrack ftp brute force 
Shell :: how to download file from terminal ssh 
Shell :: mySQL root password config 
Shell :: change directory 
Shell :: pug compile 
Shell :: Install Deno - Chocolatey (Windows) 
Shell :: rmdir recursive 
Shell :: git recurse submodules 
Shell :: teleport in vue 
Shell :: instal ansible centos 7 
Shell :: créer un script linux 
Shell :: terraform element function 
Shell :: letsencrypt domain error 
Shell :: git 3 way merge 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =