1
0
Fork 0
Browse Source

Add common standards

master
Gavin Howard 4 years ago
parent
commit
eb35ec95cd
Signed by: gavin
GPG Key ID: C08038BDF280D33E
  1. 8
      .gitconfig
  2. 26
      Standards.md

8
.gitconfig

@ -0,0 +1,8 @@
[diff]
submodule = log
[merge]
ff = false
[pull]
rebase = true
[alias]
root = !pwd

26
Standards.md

@ -0,0 +1,26 @@
# Yzena Common Coding Standards
This document lays out common coding standards for all languages in Yzena
projects.
## Standards
### Git
All projects must include the `.gitconfig` file in this repo and have a note in
the `README` telling new users to run the following command after cloning the
repo:
```
git config --local include.path ../.gitconfig
```
#### Submodules
Any repo with `git` submodules must have a note in the `README` telling new
users to run the following command after cloning the repo:
```
git submodule update --init --recursive
```
Loading…
Cancel
Save