jolicode / jolicode/codingstyle

[RFC] Git standard configuration

Open
#2 6 comments 0 reactions 0 assignees View on GitHub
GIT
Dominant language
PHP
Stars
23
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.