Created
          July 15, 2014 22:57 
        
      - 
      
- 
        Save nyarly/ca6a5e8af157181fe3d0 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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
    
  
  
    
  | if git status --porcelain | grep '^\?'; then | |
| echo "Error: These files are untracked. Add them to the repo or to .gitignore" | |
| exit 1 | |
| fi | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Ensures that everything is either added or ignored before commit.