Skip to content
  1. Mar 25, 2020
  2. Mar 21, 2020
  3. Mar 12, 2020
  4. Feb 21, 2020
  5. Feb 18, 2020
  6. Feb 08, 2020
  7. Jan 29, 2020
  8. Jan 16, 2020
  9. Jan 07, 2020
  10. Dec 30, 2019
  11. Dec 23, 2019
  12. Dec 16, 2019
  13. Dec 03, 2019
  14. Nov 28, 2019
  15. Nov 25, 2019
  16. Nov 18, 2019
  17. Nov 12, 2019
  18. Oct 18, 2019
  19. Oct 05, 2019
  20. Oct 02, 2019
  21. Oct 01, 2019
  22. Sep 27, 2019
  23. Sep 05, 2019
  24. Sep 02, 2019
  25. Sep 01, 2019
  26. Aug 27, 2019
  27. Aug 19, 2019
  28. Aug 08, 2019
  29. Aug 06, 2019
  30. Jul 24, 2019
  31. Jul 13, 2019
  32. Jun 27, 2019
  33. Jun 24, 2019
    • Amir Zarrinkafsh's avatar
      Merge pull request #144 from davidalger/patch-1 · 3b61ee97
      Amir Zarrinkafsh authored
      Stop git handling binary images files as text
      3b61ee97
    • David Alger's avatar
      Stop git handling binary images files as text · 48a37afd
      David Alger authored
      When cloning the repository from scratch, 4 files are coming up as modified and attempting to run `checkout` to get to a clean state fails due to the rule in this file setting all files (`*`) to be processed by Git as `text` with automatic EOL processing. See the below for what happens:
      
      ```
      davidalger:05:13 PM:/server/proj$ git clone https://github.com/stefanprodan/dockprom
      Cloning into 'dockprom'...
      remote: Enumerating objects: 605, done.
      remote: Total 605 (delta 0), reused 0 (delta 0), pack-reused 605
      Receiving objects: 100% (605/605), 1.49 MiB | 328.00 KiB/s, done.
      Resolving deltas: 100% (343/343), done.
      davidalger:05:14 PM:/server/proj$ cd dockprom/
      warning: CRLF will be replaced by LF in screens/Grafana_Docker_Containers.png.
      The file will have its original line endings in your working directory
      davidalger:05:14 PM:/server/proj/dockprom (master *) $ git status
      On branch master
      Your branch is up to date with 'origin/master'.
      
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git checkout -- <file>..." to discard changes in working directory)
      
      	modified:   screens/Grafana_Docker_Containers.png
      	modified:   screens/Grafana_Docker_Host.png
      	modified:   screens/Grafana_Prometheus.png
      	modified:   screens/Slack_Notifications.png
      
      no changes added to commit (use "git add" and/or "git commit -a")
      warning: CRLF will be replaced by LF in screens/Grafana_Docker_Containers.png.
      The file will have its original line endings in your working directory
      davidalger:05:14 PM:/server/proj/dockprom (master *) $ git checkout .
      Updated 4 paths from the index
      warning: CRLF will be replaced by LF in screens/Grafana_Docker_Containers.png.
      The file will have its original line endings in your working directory
      davidalger:05:14 PM:/server/proj/dockprom (master *) $ git status
      On branch master
      Your branch is up to date with 'origin/master'.
      
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git checkout -- <file>..." to discard changes in working directory)
      
      	modified:   screens/Grafana_Docker_Containers.png
      	modified:   screens/Grafana_Docker_Host.png
      	modified:   screens/Grafana_Prometheus.png
      	modified:   screens/Slack_Notifications.png
      
      no changes added to commit (use "git add" and/or "git commit -a")
      warning: CRLF will be replaced by LF in screens/Grafana_Docker_Containers.png.
      The file will have its original line endings in your working directory
      davidalger:05:14 PM:/server/proj/dockprom (master *) $ vi .gitattributes 
      davidalger:05:14 PM:/server/proj/dockprom (master *) $ git checkout screens/
      Updated 4 paths from the index
      davidalger:05:14 PM:/server/proj/dockprom (master *) $ git status
      On branch master
      Your branch is up to date with 'origin/master'.
      
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git checkout -- <file>..." to discard changes in working directory)
      
      	modified:   .gitattributes
      
      no changes added to commit (use "git add" and/or "git commit -a")
      davidalger:05:14 PM:/server/proj/dockprom (master *) $ 
      ```
      48a37afd