Code Monkey home page Code Monkey logo

Comments (6)

damienalexandre avatar damienalexandre commented on June 20, 2024

I'm against the autosetuprebase,
otherwise it's a good suggestion.

All the files we suggest should also include FULL comments on each line to describe what's done.

from codingstyle.

ternel avatar ternel commented on June 20, 2024

I have for .gitignore, surely too restritive:

# 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

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

# IDE configurations #
#####################
.idea
.settings

# Pre commit configuration
#####################
.pre-commit-config.yaml

For .gitconfig:

[color]
    ui = auto
    diff = auto
    status = auto
    branch = auto
[core]
    whitespace = trailing-space,space-before-tab
[help]
    autocorrect = 1
[rerere]
    enabled = true

from codingstyle.

damienalexandre avatar damienalexandre commented on June 20, 2024

I also saw some projects with a .gitattributes,
see https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes ?

from codingstyle.

franek avatar franek commented on June 20, 2024

We could add :

[push]
        default = current

This article is good :
http://www.git-attitude.fr/2013/04/03/configuration-git/

from codingstyle.

damienalexandre avatar damienalexandre commented on June 20, 2024

We still miss something for the global "gitignore". Maybe we should also ship a ".gitignore-joli", which can be set in our gitconfig? If someone want to do this! 👍

from codingstyle.

joelwurtz avatar joelwurtz commented on June 20, 2024

Missing a .gitattributes file which list files who should not be present when exporting a project which is really useful when packaging an application (like removing the tests, documentation, and others things which does not make sense in a production application)

from codingstyle.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.