a guest Apr 22nd, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~/somegittest$ ls
  2. ~/somegittest$ ls -a
  3. .   ..
  4. ~/somegittest$ touch a.a
  5. ~/somegittest$ git init
  6. Initialized empty Git repository in /Users/apple/somegittest/.git/
  7. ~/somegittest$ git add -A
  8. ~/somegittest$ git status -s
  9. A  a.a
  10. ~/somegittest$ vi .gitignore
  11. ~/somegittest$ cat .gitignore
  12. a.a
  13. ~/somegittest$ git add -A
  14. ~/somegittest$ git status -s
  15. A  .gitignore
  16. A  a.a
  17. ~/somegittest$ echo ^^ see the git add -A did not read the .gitignore
  18. ^^ see the git add -A did not read the .gitignore
  19. ~/somegittest$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand