Guest User

Untitled

a guest
Jun 5th, 2016
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. So I'm trying to ignore everything except for files under the /app/code/core/Mage/ directory.
  2. For some reason, it works on Windows (git version 2.7.0.windows), but not in my Centos machine (git version 2.8.1).
  3.  
  4. git status on Windows:
  5. -----------------------------
  6. $ git status
  7. On branch master
  8.  
  9. Initial commit
  10.  
  11. Untracked files:
  12. (use "git add <file>..." to include in what will be committed)
  13.  
  14. app/
  15.  
  16. nothing added to commit but untracked files present (use "git add" to track)
  17.  
  18. git status on Centos:
  19. -----------------------------
  20. $ git status
  21. On branch master
  22.  
  23. Initial commit
  24.  
  25. nothing to commit (create/copy files and use "git add" to track)
  26.  
  27. my .gitignore file:
  28. /**
  29. !/app/code/core/Mage/**
Add Comment
Please, Sign In to add comment