Created
March 8, 2011 06:22
-
-
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')
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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