#!/bin/sh -e
#
# git-files-in-order-of-creation - only shows files that still exist,
# and only works from top of repository
#
# ---
# source: https://git.joeyh.name/index.cgi/joey/home.git/tree/bin/git-files-in-order-of-creation

git log --reverse --name-only --pretty=format: \
  | perl -ne 'chomp; if (! $s{$_} && -e $_) { $s{$_}=1; print "$_\n" }'
