Comments (6)
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.
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.
I also saw some projects with a .gitattributes
,
see https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes ?
from codingstyle.
We could add :
[push]
default = current
This article is good :
http://www.git-attitude.fr/2013/04/03/configuration-git/
from codingstyle.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codingstyle.