Skip to content

Instantly share code, notes, and snippets.

@yakimka
Last active September 28, 2020 15:21
Show Gist options
  • Select an option

  • Save yakimka/2642f68bb40b247e13d39f9cf0ac3ea3 to your computer and use it in GitHub Desktop.

Select an option

Save yakimka/2642f68bb40b247e13d39f9cf0ac3ea3 to your computer and use it in GitHub Desktop.

Revisions

  1. yakimka revised this gist Sep 28, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions .gitexcludes
    Original file line number Diff line number Diff line change
    @@ -70,6 +70,7 @@ coverage.xml
    ehthumbs.db
    Thumbs.db
    .desktop
    .directory

    # pyenv
    .python-version
  2. yakimka revised this gist Sep 28, 2020. 1 changed file with 50 additions and 1 deletion.
    51 changes: 50 additions & 1 deletion .gitexcludes
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,9 @@
    *.exe
    *.o
    *.so
    __pycache__/
    *.py[cod]
    *$py.class

    # Packages #
    ############
    @@ -20,12 +23,42 @@
    *.tar
    *.zip

    # Distribution / packaging
    .Python
    build/
    develop-eggs/
    dist/
    eggs/
    .eggs/
    parts/
    sdist/
    wheels/
    *.egg-info/
    .installed.cfg
    *.egg
    MANIFEST

    # Logs and databases #
    ######################
    *.log
    *.sql
    *.sqlite
    *.db
    pip-log.txt
    pip-delete-this-directory.txt

    # Unit test / coverage reports
    htmlcov/
    .tox/
    .nox/
    .coverage
    .coverage.*
    .cache
    nosetests.xml
    coverage.xml
    *.cover
    .hypothesis/
    .pytest_cache/

    # OS generated files #
    ######################
    @@ -36,11 +69,27 @@
    .Trashes
    ehthumbs.db
    Thumbs.db
    .desktop

    # pyenv
    .python-version

    # mypy
    .mypy_cache/
    .dmypy.json
    dmypy.json

    # Environments
    .env
    .venv
    env/
    venv/
    ENV/
    env.bak/
    venv.bak/

    # Other #
    ######################
    *.todo
    .idea
    .vscode
    *.buk
  3. yakimka revised this gist Sep 26, 2020. 2 changed files with 3 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    [user]
    name = yakimka
    email = email
    name = {{git_name}}
    email = {{git_email}}

    [core]
    editor = nano
    1 change: 1 addition & 0 deletions .gitexcludes
    Original file line number Diff line number Diff line change
    @@ -44,3 +44,4 @@ Thumbs.db
    .idea
    .vscode
    *.buk
    .coverage
  4. yakimka revised this gist Dec 24, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@
    email = email

    [core]
    editor = nano
    excludesfile = ~/.gitexcludes
    [alias]
    pall = !git push --all && git push --tags
  5. yakimka created this gist Dec 18, 2018.
    9 changes: 9 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    [user]
    name = yakimka
    email = email

    [core]
    excludesfile = ~/.gitexcludes
    [alias]
    pall = !git push --all && git push --tags
    hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
    46 changes: 46 additions & 0 deletions .gitexcludes
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    # Compiled source #
    ###################
    *.com
    *.class
    *.dll
    *.exe
    *.o
    *.so

    # Packages #
    ############
    # it's better to unpack these files and commit the raw source
    # git has its own built in compression methods
    *.7z
    *.dmg
    *.gz
    *.iso
    *.jar
    *.rar
    *.tar
    *.zip

    # Logs and databases #
    ######################
    *.log
    *.sql
    *.sqlite
    *.db

    # OS generated files #
    ######################
    .DS_Store
    .DS_Store?
    ._*
    .Spotlight-V100
    .Trashes
    ehthumbs.db
    Thumbs.db


    # Other #
    ######################
    *.todo
    .idea
    .vscode
    *.buk