Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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