Skip to content

Git

Various Git commands handy cheatsheet.

Fast one liners for easy reference.

Gives you the status of the current repository

git status

git fetch origin_url

git pull

git add -A

git commit -m 'Commit message'

git push

git checkout branch_name

These are default git commands normally used in a project. I usually use "Github Desktop" due to GUI and how easy it is to download my repositories from github.com & it's free.

My all time favorite is "Tower" git client and favorite enterprise git SaaS is "Gitlab" for personal use "github".

List

workflow amend branch cache checkout commitizen config delete differences tools/git/errors git_alias git_attributes github_sync_fork guidelines ignore tools/git/merge merging_two_repos modules

rebase remote stash tag