Skip to content

Instantly share code, notes, and snippets.

@carlospaiva
Forked from liitfr/README.md
Created December 12, 2022 21:29
Show Gist options
  • Save carlospaiva/751753a72d40e173f9b593f00ab0a15f to your computer and use it in GitHub Desktop.
Save carlospaiva/751753a72d40e173f9b593f00ab0a15f to your computer and use it in GitHub Desktop.

Revisions

  1. @liitfr liitfr revised this gist Oct 7, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    - on your repo's root, run : `find . -type f | xargs chmod -x`
    - commit this change on files : `commit -n -m 'fix: files permission from 100755 to 100644'`
    - then with `vim .git/config`, set `filemode` option to false
    - then with `vim .git/config`, set `filemode` option to `false`
    ```
    [core]
    filemode = false
  2. @liitfr liitfr revised this gist Oct 7, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    - on your repo's root, run : `find . -type f | xargs chmod -x`
    - commit this change on files : `commit -n -m 'fix: files permission from 100755 to 100644'`
    - then with `vim .git/config`, set filemode option to false
    - then with `vim .git/config`, set `filemode` option to false
    ```
    [core]
    filemode = false
  3. @liitfr liitfr revised this gist Oct 7, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    # how to revert 100644 → 100755 commits

    - on your repo's root, run : `find . -type f | xargs chmod -x`
    - commit this change on files : `commit -n -m 'fix: files permission from 100755 to 100644'`
    - then with `vim .git/config`, set filemode option to false
    ```
    [core]
  4. @liitfr liitfr created this gist Oct 7, 2019.
    8 changes: 8 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # how to revert 100644 → 100755 commits

    - on your repo's root, run : `find . -type f | xargs chmod -x`
    - then with `vim .git/config`, set filemode option to false
    ```
    [core]
    filemode = false
    ```