- Fork the antlr/antlr4 repo, which will give you both key branches,
master
anddev
- Make sure to
git checkout dev
in your fork so that you are working from the latest development branch - Create and work from a branch derived from
dev
such asgit checkout -b your-branch-name
- Install and configure EditorConfig so your text editor or IDE uses the ANTLR 4 coding style
- Build ANTLR 4
- Run the ANTLR project unit tests
- Create a pull request with your changes and make sure you're comparing your
dev
-derived branch in your fork to thedev
branch from theantlr/antlr4
repo:
Note: Each commit requires a "signature", which is simple as using -s
(not
-S
) to the git commit command:
git commit -s -m 'This is my commit message'
Github's pull request process enforces the sig and gives instructions on how to fix any commits that lack the sig. See Github DCO app for more info.