M A N D A T O R Y

https://www.youtube.com/watch?v=6Czd1Yetaac

https://www.youtube.com/watch?v=6OokP-NE49k


Adding an existing project to GitHub using the command line

Adding an existing project to Git Repository using the command line

Setting up SSH keys for multiple Bitbucket/Github accounts

Local Git Ignore

Conventional / Semantic Commit Messages

Escopos de configuração no Git

Set Visual Studio code as git editor: git config --global core.editor "code --wait"

Improving Git Commands

Git log can be different than the verbose widely known

Example: git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

Should result in the following output:

You can apply it by using a GIT ALIAS ou SHELL ALIAS (when on linux machine.. maybe Mac too, but I don't have it — so unnecessarily expensive in Brazil)

Git Alias: git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" Usage: git lg

Shell Alias: (at your ~/.bash_profile or ~/.bashrc || I'll use "gitlog" as alias, but you can set what name you want) alias **gitlog="**git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

Usage: gitlog (or the name you've set)

Improving Git Commands :: Git Status

Do you think this is a bit verbose??