Git Repo
↔ collection of Commits for project Diff history
aka Repo, Repos
References
status
↔ to show state of Git Repo; list files in Staging/untracked/Commit Historygit remote
↔ to print list of all remote connected Git Repogit remote add origin _URL
↔ to addremote
Git Repo w name oforigin
at_URL
git remote -v
↔ to printremote
Git Repo name & URLgit remote show
↔ to print details for remote Git Repo incl Branchgit pull origin master
↔ to downloadremote
Git Repo namedorigin
&merge
with local repo namedmaster
git clone _URL newName
↔ toclone
remote
Repo (at_URL
) to local machine & rename tonewName
github codespace
↔ (feat)(paywall) to open github Repo in online cloud IDE playgroundclone
↔ to download copy of remote Git Repo/Diff to local repo--force
↔ flag to overwrite Commit History onremote
Repogit log --graph --oneline --decorate
↔ to print Commit History as colorized ASCII graph (only applies to Repo with Branches )Docker Hub
↔ Docker Image Repo, CI/CD triggers/Webhook, github integrationdegit
↔ Dev tool to clone Git Repo, auto find latest commit, download ass.tar
- essentially alias forgit clone --depth 1 _SOMEGITREPOURL
git remote add upstream _URL
↔ to sync local Repo w Upstream Github RepoGithub Repo
↔remote
Repo host on github.combfg
↔ fast alt togit-filter-branch
to go 1984 on Git Repo - no filepath support, only discrete filename/foldername - RISKY! outputs changelog to .git.bfg-reportgit push --force origin __branch
↔ topush
local Commit toremote
Repo & FORCE sync to local (discardremote
history) 🔥 bad for teamwork!git push -u origin master
↔ topush
local Git Repo Branch at Master toremote
Repogit push --force-with-lease origin __branch
↔ to push local Commit to remote Repo & SAFELY sync (avoid overwrite remote history) ✅ often mandatory to not get fired!