Skip to content

Instantly share code, notes, and snippets.

View Cassio8186's full-sized avatar

Cassio Lopes Cassio8186

  • C6 Bank
  • Belém, Brazil
View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@Cassio8186
Cassio8186 / git-auto-sign-commits.sh
Last active May 5, 2021 18:29 — forked from mort3za/git-auto-sign-commits.sh
Auto sign your git commits
# Generate new SSH Key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
# Test SSH connection to github
ssh -T git@github.com
# Generate a new pgp key: (better to use gpg2 instead of gpg in all below commands)
gpg --full-gen-key
# maybe you need some random work in your OS to generate a key. so run this command: `find ./* /home/username -type d | xargs grep some_random_string > /dev/null`
@Cassio8186
Cassio8186 / git.md
Created October 12, 2019 13:52 — forked from pedronauck/git.md
Terminal commands

Comandos Gerais

Clonar um Repositório

$ git clone 'nome-do-repositório'

Verificar status

$ git status