Skip to content

Instantly share code, notes, and snippets.

@wtnabe
Created March 8, 2011 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wtnabe/859932 to your computer and use it in GitHub Desktop.
Save wtnabe/859932 to your computer and use it in GitHub Desktop.
git task for remember `git add' (Put this to Rails.root/lib/tasks/git.rake and type `rake -T')
namespace :git do
desc "list git-untracked files"
task :untracked do
sh 'git ls-files -o --exclude-from=.gitignore'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment