Skip to content

Commit

Permalink
update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiaoreis committed Mar 16, 2022
1 parent d399c33 commit df78e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Configuring SECOM in your repository is very simple! 🤩
cd repository-path/
cd .git/
mkdir templates/
wget https://github.com/TQRG/secom/template/secom
wget https://raw.githubusercontent.com/TQRG/secom/main/template/commit.secom
```

Setting an alias in your github configuration `~/.gitconfig` for security commits is helpful to distinguish security commits from other types of commits. Add the following to your `~/.gitconfig` file:

```bash
[alias]
secommit = commit -t .git/templates/secom
secommit = commit -t .git/templates/commit.secom
```

Now, every time you want to commit your security patch just run `git secommit`, fill the template different sections and `git push`. 💥
Expand Down

0 comments on commit df78e48

Please sign in to comment.