jolicode / jolicode/codingstyle

[RFC] Git standard configuration

Aperta
#2 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
GIT
Lingua principale
PHP
Stelle
23
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Should we establish a default configuration for git? Everybody would be free to use it / customize it / or discard it completly but this default config would probably be useful for newcomers. Something among:

~/.gitconfig

```
[core]
excludesfile = ~/.gitignore
[alias]
st = status
df = diff
co = checkout
ci = commit
br = branch
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative

[branch]
autosetuprebase = always
```

~/.gitignore

```
.idea
.DS_Store
._*
.Spotlight-V100
.Trashes
.buildpath
.project
.settings
```

What do you think?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.