Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

append standard python gitignore #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

williambdean
Copy link
Collaborator

GitHub offers gitignore templates for various languages. I've appended the one for Python

Super helpful function if you don't have it saved off already!

gitignore-template () {
        local language=${1:-$(gh api /gitignore/templates --jq '.[]' | 
fzf)} 
        if [ -z "$language" ]
        then
                return
        fi
        gh api /gitignore/templates/$language --jq '.source'
}

Then ran it:

gitignore-template Python >> .gitignore

And sorted the file manually

@williambdean williambdean changed the title append standard python gitignore to ours append standard python gitignore Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant