René's URL Explorer Experiment


Title: GitHub - hamsoftug/git-cheat-sheet: A small git cheat sheet of common use-cases for my future self.

Open Graph Title: GitHub - hamsoftug/git-cheat-sheet: A small git cheat sheet of common use-cases for my future self.

X Title: GitHub - hamsoftug/git-cheat-sheet: A small git cheat sheet of common use-cases for my future self.

Description: A small git cheat sheet of common use-cases for my future self. - hamsoftug/git-cheat-sheet

Open Graph Description: A small git cheat sheet of common use-cases for my future self. - hamsoftug/git-cheat-sheet

X Description: A small git cheat sheet of common use-cases for my future self. - hamsoftug/git-cheat-sheet

Opengraph URL: https://github.com/hamsoftug/git-cheat-sheet

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:e7f5b06e-7edc-89cc-c448-9ee7c91dcdf3
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id94A4:29DEAF:3707484:4BA1B92:6980BC69
html-safe-nonce78274ec72c9f4d2eceda88e2d9b34445531657a05ca7574e0bba6ab38714eb2b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEE0OjI5REVBRjozNzA3NDg0OjRCQTFCOTI6Njk4MEJDNjkiLCJ2aXNpdG9yX2lkIjoiNzI5MDQ4NTQ2NTIwMTgxODcyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacef3ca78e2b147445454eecec0d8076a39b82dee1380a452a418735c289cb5e12
hovercard-subject-tagrepository:229523848
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/hamsoftug/git-cheat-sheet
twitter:imagehttps://opengraph.githubassets.com/089e46f3fa67c308de0aecce5648cb0fc18beb16ffe316381511a807e657e304/hamsoftug/git-cheat-sheet
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/089e46f3fa67c308de0aecce5648cb0fc18beb16ffe316381511a807e657e304/hamsoftug/git-cheat-sheet
og:image:altA small git cheat sheet of common use-cases for my future self. - hamsoftug/git-cheat-sheet
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonefb936832e40deb3175641d9cfedc8432372f91b0bc899576222953095fc7879e
turbo-cache-controlno-preview
go-importgithub.com/hamsoftug/git-cheat-sheet git https://github.com/hamsoftug/git-cheat-sheet.git
octolytics-dimension-user_id26329629
octolytics-dimension-user_loginhamsoftug
octolytics-dimension-repository_id229523848
octolytics-dimension-repository_nwohamsoftug/git-cheat-sheet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id229523809
octolytics-dimension-repository_parent_nwostevebaros/git-cheat-sheet
octolytics-dimension-repository_network_root_id177277810
octolytics-dimension-repository_network_root_nwobennadel/git-cheat-sheet
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasead74180531de4861d5eee036a47b86c66a5b756e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhamsoftug%2Fgit-cheat-sheet
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhamsoftug%2Fgit-cheat-sheet
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=hamsoftug%2Fgit-cheat-sheet
Reloadhttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet
Reloadhttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet
Reloadhttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet
hamsoftug https://patch-diff.githubusercontent.com/hamsoftug
git-cheat-sheethttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet
stevebaros/git-cheat-sheethttps://patch-diff.githubusercontent.com/stevebaros/git-cheat-sheet
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fhamsoftug%2Fgit-cheat-sheet
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fhamsoftug%2Fgit-cheat-sheet
Star 2 https://patch-diff.githubusercontent.com/login?return_to=%2Fhamsoftug%2Fgit-cheat-sheet
2 stars https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/stargazers
60 forks https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/forks
Branches https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/branches
Tags https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/tags
Activity https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fhamsoftug%2Fgit-cheat-sheet
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fhamsoftug%2Fgit-cheat-sheet
Code https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet
Pull requests 0 https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/pulls
Actions https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/actions
Projects 0 https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/projects
Security 0 https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/security
Insights https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/pulse
Code https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet
Pull requests https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/pulls
Actions https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/actions
Projects https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/projects
Security https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/security
Insights https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/pulse
Brancheshttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/branches
Tagshttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/tags
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/branches
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/tags
59 Commitshttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/commits/master/
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/commits/master/
README.mdhttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#git-cheat-sheet
Ben Nadelhttps://www.bennadel.com
git API is so vasthttps://git-scm.com/docs
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#table-of-contents
I want to show the status of the current branch.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-show-the-status-of-the-current-branch
I want to create a new branch that is based on the current branch.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-create-a-new-branch-that-is-based-on-the-current-branch
I want to checkout the previous branch that I was on.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-checkout-the-previous-branch-that-i-was-on
I want to list the files that have been modified in the current working tree.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-list-the-files-that-have-been-modified-in-the-current-working-tree
I want to view the changes that were made in a given commit.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-view-the-changes-that-were-made-in-a-given-commit
I want to list the files that were changed in a given commit.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-list-the-files-that-were-changed-in-a-given-commit
I want to view the changes that were made across multiple commits.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-view-the-changes-that-were-made-across-multiple-commits
I want to view the changes that were made in a given file.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-view-the-changes-that-were-made-in-a-given-file
I want to view the contents of a file in a given commit.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-view-the-contents-of-a-file-in-a-given-commit
I want to open the contents of a file in a given commit in my editor.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-open-the-contents-of-a-file-in-a-given-commit-in-my-editor
I want to copy a file from a given commit into my current working tree.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-copy-a-file-from-a-given-commit-into-my-current-working-tree
I want to copy the last commit from another branch into my branch.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-copy-the-last-commit-from-another-branch-into-my-branch
I want to copy an earlier commit from the current branch to the head.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-copy-an-earlier-commit-from-the-current-branch-to-the-head
I want to update the files in the current commit.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-update-the-files-in-the-current-commit
I want to edit the current commit message.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-edit-the-current-commit-message
I want to copy master into my feature branch.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-copy-master-into-my-feature-branch
I want to revert the merge of my feature branch into master.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-revert-the-merge-of-my-feature-branch-into-master
I want to extract changes that I accidentally made to master.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-extract-changes-that-i-accidentally-made-to-master
I want to undo the changes that I've made to my branch.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-undo-the-changes-that-ive-made-to-my-branch
I want to remove unpublished changes from my branch.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-remove-unpublished-changes-from-my-branch
I want to see which branches have already been merged into master.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-see-which-branches-have-already-been-merged-into-master
I want to see which branches have not yet been merged into master.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-see-which-branches-have-not-yet-been-merged-into-master
I want to delete my feature branch.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-delete-my-feature-branch
I want to delete a remote branch.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-delete-a-remote-branch
I want to update master because my push was rejected.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-update-master-because-my-push-was-rejected
I want to remove a file from my staging area.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-remove-a-file-from-my-staging-area
I want to squash several commits into one (or more) commits.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-squash-several-commits-into-one-or-more-commits
I want to squash several commits into one commit without using rebase.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-squash-several-commits-into-one-commit-without-using-rebase
I want to temporarily set-aside my feature work.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-temporarily-set-aside-my-feature-work
I want to keep my changes during conflict resolution.https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-keep-my-changes-during-conflict-resolution
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#use-cases
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-show-the-status-of-the-current-branch
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-create-a-new-branch-that-is-based-on-the-current-branch
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-checkout-the-previous-branch-that-i-was-on
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-list-the-files-that-have-been-modified-in-the-current-working-tree
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-view-the-changes-that-were-made-in-a-given-commit
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-list-the-files-that-were-changed-in-a-given-commit
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-view-the-changes-that-were-made-across-multiple-commits
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-view-the-changes-that-were-made-in-a-given-file
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-view-the-contents-of-a-file-in-a-given-commit
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-open-the-contents-of-a-file-in-a-given-commit-in-my-editor
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-copy-a-file-from-a-given-commit-into-my-current-working-tree
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-copy-the-last-commit-from-another-branch-into-my-branch
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-copy-an-earlier-commit-from-the-current-branch-to-the-head
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-update-the-files-in-the-current-commit
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-edit-the-current-commit-message
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-copy-master-into-my-feature-branch
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-revert-the-merge-of-my-feature-branch-into-master
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-extract-changes-that-i-accidentally-made-to-master
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-undo-the-changes-that-ive-made-to-my-branch
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-remove-unpublished-changes-from-my-branch
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-see-which-branches-have-already-been-merged-into-master
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-see-which-branches-have-not-yet-been-merged-into-master
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-delete-my-feature-branch
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-delete-a-remote-branch
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-update-master-because-my-push-was-rejected
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-remove-a-file-from-my-staging-area
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-squash-several-commits-into-one-or-more-commits
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-squash-several-commits-into-one-commit-without-using-rebase
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-temporarily-set-aside-my-feature-work
https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#i-want-to-keep-my-changes-during-conflict-resolution
Readme https://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet#readme-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet
Activityhttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/activity
Custom propertieshttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/custom-properties
2 starshttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/stargazers
0 watchinghttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/watchers
0 forkshttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fhamsoftug%2Fgit-cheat-sheet&report=hamsoftug+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/hamsoftug/git-cheat-sheet/releases
Packages 0https://patch-diff.githubusercontent.com/orgs/hamsoftug/packages?repo_name=git-cheat-sheet
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.