Skip to content
Snippets Groups Projects

gitignore entry for local dev environment

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Furkan Mustafa
    setup-gitignore.sh 137 B
    tee ${HOME}/.gitignore_global <<EOF >/dev/null
    .idea
    .DS_Store
    ._DS_Store
    EOF
    
    git config --global core.excludesfile ~/.gitignore_global
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment