Skip to content

Instantly share code, notes, and snippets.

@techedlaksh
Last active October 20, 2021 14:09
Show Gist options
  • Select an option

  • Save techedlaksh/ddc7b3c75fc2786b9d76c5e02c0ad064 to your computer and use it in GitHub Desktop.

Select an option

Save techedlaksh/ddc7b3c75fc2786b9d76c5e02c0ad064 to your computer and use it in GitHub Desktop.

Revisions

  1. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions global-gitignore-setup.md
    Original file line number Diff line number Diff line change
    @@ -5,5 +5,9 @@ git config --global core.excludesfile ~/.gitignore

    ## Global .gitignore content
    ```
    # Custom folder
    ignore
    # Mac
    .DS_Store
    ```
  2. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion global-gitignore-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,9 @@
    Setup for Mac / Linux
    ## Setup for Mac / Linux
    ```
    git config --global core.excludesfile ~/.gitignore
    ```

    ## Global .gitignore content
    ```
    ignore
    ```
  3. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion global-gitignore-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #Setup for Mac / Linux
    Setup for Mac / Linux
    ```
    git config --global core.excludesfile ~/.gitignore
    ```
  4. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion global-gitignore-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,5 @@
    #Setup for Mac / Linux
    #Setup for Mac / Linux
    ```
    git config --global core.excludesfile ~/.gitignore
    ```

  5. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion global-gitignore-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    ##Setup for Mac / Linux
    #Setup for Mac / Linux
    git config --global core.excludesfile ~/.gitignore
  6. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion global-gitignore-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    ##Setup for Mac / Linux
    ##Setup for Mac / Linux
    git config --global core.excludesfile ~/.gitignore
  7. techedlaksh renamed this gist Oct 20, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .gitignore
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    Setup for Mac / Linux
    git config --global core.excludesfile ~/.gitignore
    ##Setup for Mac / Linux
    git config --global core.excludesfile ~/.gitignore
  9. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions .gitignore
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,2 @@
    Setup for Mac / Linux
    ```
    git config --global core.excludesfile ~/.gitignore
    ```
    git config --global core.excludesfile ~/.gitignore
  10. techedlaksh revised this gist Oct 20, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion .gitignore
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
    Mac / Linux
    Setup for Mac / Linux
    ```
    git config --global core.excludesfile ~/.gitignore
    ```
  11. techedlaksh created this gist Oct 20, 2021.
    2 changes: 2 additions & 0 deletions .gitignore
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    Mac / Linux
    git config --global core.excludesfile ~/.gitignore