Added the case when there are untracked files to working-directory-is-clean condition in GitHelpers. #30

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@pankajgupta
Twitter, Inc. member

It should be cool to have personal files that you do not want to 'git add', right?

@pankajgupta pankajgupta Added the case when there are untracked files to
working-directory-is-clean condition in GitHelpers.
145a68b
@fizx

Allowing untracked files opens us up to human error, where you commit/publish/whatever, and you forgot to git add that one file.

I recommend for your use case that you add the "personal files" to your gitignore.

-1

@fizx fizx closed this Oct 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment