This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.
wiki:Dev/Tips

Tips & Tricks

Awesomeness goes here

Git

  • List files that have been added and then removed, in a specified revision span:
    git log --diff-filter=AD --name-status rev1..rev2 | grep '^\(A\|D\)\b' | awk '{print $2}' | sort | uniq -c | grep '2 ' | awk '{print $2}'
    
Last modified 6 years ago Last modified on 01/27/10 15:30:23