Ignoring personal files in git
Suppose that you would like to keep resque.pid
file inside the project. You
don’t want to make it into git repo, though.
PIDFILE=./resque.pid BACKGROUND=yes QUEUES=jobs,mailers rake environment resque:work
To do that use .git/info/exclude
echo "resque.pid" >> .git/info/exclude
That’s it! if you’re interested in more useful git tips, visit my git_cheatsheet on Github.
Written by Wojtek Ryrych
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#