Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What I do is make the same scripts from project to project then have helpful aliases to run them quickly. For example, since I do TDD and often work on a single test file for a while I have a script in every project called:

    bin/run
Then when I want to run it I just type the letter r, since I've aliased r to run ./bin/run. It's super fast. To keep source control clean I add it to:

    .git/info/exclude
Which allows my .gitignore to be the same as everyone elses. I used to used the global gitignore file, but I had issues at times.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: