$ sudo apt-get install git-flow
: Install Git flow$ git flow
: Init Git flow$ git flow feature start <NAME>
: Creating a new feature$ git flow feature finish <NAME>
: Feature to Develop$ git flow release start <VERSION>
: Create a new release$ git flow release finish <VERSION>
: Release to Main$ git flow hotfix start <VERSION>
: Create a new hotfix$ git flow hotfix finish <VERSION>
: Hotfix to Develop and to Main
$ gpg --list-secret-key --keyid-form LONG
: Lista as chaves gpg$ gpg --full-generate-key
: Gera uma chave gpg$ gpg --armor --export <KEY_ID>
: Exportar a chave gerada$ git config --global user.signingkey <KEY_ID>
: Configurando git$ export GPG_TTY=$(tty)
: Exportando varável de ambiente$ git config --global commit.gpgsing true
: Definir padrão sempre assinar commit$ git config --global tag.gpgsing true
: Definir padrão sempre assinar tag
mkdir .github
vim .github/PULL_REQUEST_TEMPLATE.md
Semantical versioning "1.2.3"
- Major: 1 (Breaking changes)
- Minor: 2 (New features)
- Patch: 3 (Fix and adjusts)
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
type:
- fix
- feat
- BREAKING CHANGE
- docs
- build
- refactor
https://docs.github.com/pt/actions/quickstart
https://github.com/docker/build-push-action https://github.com/docker/setup-qemu-action https://github.com/docker/setup-buildx-action