Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to find the oldest files git

This emits // just a "last edit date" for each file, in an ISO format that sorts nicely.

git ls-tree -r --name-only HEAD | while read filename; do   
   echo "$(git log -1 --date=iso --format="%ad |" -- $filename) $filename"
Comment

PREVIOUS NEXT
Code Example
Shell :: gradle proxy build 
Shell :: switch user ubuntu 
Shell :: touch command 
Shell :: loop through a collection mongo db 
Shell :: windows start shortcut cmd administrator 
Shell :: install csfml on linux 
Shell :: move commit from master to branch 
Shell :: 504 gateway time-out nginx/1.18.0 (ubuntu) 
Shell :: push amended commit 
Shell :: linux wsl on window space used 
Shell :: compare repositories github 
Shell :: kill task linux ubuntu 
Shell :: secure shell 
Shell :: spectacle linux 
Shell :: git config set email 
Shell :: sudo: command not found 
Shell :: vim delete every other line 
Shell :: Automatically run program on Linux startup via systemd 
Shell :: what is gist in github 
Shell :: vim convert tabs to spaces 
Shell :: git commands to push to github 
Shell :: linux change permissions recursive only directories 
Shell :: git pull a specific sha 
Shell :: clone all github repos 
Shell :: update node with nvm 
Shell :: how to make ubuntu use all available disk 
Shell :: bash read value 
Shell :: sed replace word with newline 
Shell :: get previous git stash 
Shell :: should you use docker on linux 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =