René's URL Explorer Experiment


Title: GitHub - lpatmo/git-training-notes: I attended a free day-long training held by Git trainer @PeterBell and TA'ed by Github's @aidenfeldman. These are my edited notes from the day, organized in Question/Answer format.

Open Graph Title: GitHub - lpatmo/git-training-notes: I attended a free day-long training held by Git trainer @PeterBell and TA'ed by Github's @aidenfeldman. These are my edited notes from the day, organized in Question/Answer format.

X Title: GitHub - lpatmo/git-training-notes: I attended a free day-long training held by Git trainer @PeterBell and TA'ed by Github's @aidenfeldman. These are my edited notes from the day, organized in Question/Answer format.

Description: I attended a free day-long training held by Git trainer @PeterBell and TA'ed by Github's @aidenfeldman. These are my edited notes from the day, organized in Question/Answer format. - lpatmo/git-training-notes

Open Graph Description: I attended a free day-long training held by Git trainer @PeterBell and TA'ed by Github's @aidenfeldman. These are my edited notes from the day, organized in Question/Answer format. - lpatmo...

X Description: I attended a free day-long training held by Git trainer @PeterBell and TA'ed by Github's @aidenfeldman. These are my edited notes from the day, organized in Question/Answer format. ...

Opengraph URL: https://github.com/lpatmo/git-training-notes

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:fd56ac30-a21f-5d12-acd0-80852e7f494b
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idA248:1BF5D2:43F78E5:588CE4F:69752E93
html-safe-noncebc50e842b436e009661598ed2ebfb11840751d21f949ac3a875597977890fdc9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjQ4OjFCRjVEMjo0M0Y3OEU1OjU4OENFNEY6Njk3NTJFOTMiLCJ2aXNpdG9yX2lkIjoiMTk5NzIxMDg2MTU3MDQzNjc1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac793075a6a8dea27319bb5f767c004aef77302e752cb2d0486d040835b639ab56
hovercard-subject-tagrepository:18193872
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/lpatmo/git-training-notes
twitter:imagehttps://opengraph.githubassets.com/df85e273a417a812ddf59c710512d6157ae81512ba082ff3bc252422e4837651/lpatmo/git-training-notes
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/df85e273a417a812ddf59c710512d6157ae81512ba082ff3bc252422e4837651/lpatmo/git-training-notes
og:image:altI attended a free day-long training held by Git trainer @PeterBell and TA'ed by Github's @aidenfeldman. These are my edited notes from the day, organized in Question/Answer format. - lpatmo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/lpatmo/git-training-notes git https://github.com/lpatmo/git-training-notes.git
octolytics-dimension-user_id4512699
octolytics-dimension-user_loginlpatmo
octolytics-dimension-repository_id18193872
octolytics-dimension-repository_nwolpatmo/git-training-notes
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id18193872
octolytics-dimension-repository_network_root_nwolpatmo/git-training-notes
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
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Flpatmo%2Fgit-training-notes
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%2Flpatmo%2Fgit-training-notes
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=lpatmo%2Fgit-training-notes
Reloadhttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes
Reloadhttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes
Reloadhttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes
lpatmo https://patch-diff.githubusercontent.com/lpatmo
git-training-noteshttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Flpatmo%2Fgit-training-notes
Fork 5 https://patch-diff.githubusercontent.com/login?return_to=%2Flpatmo%2Fgit-training-notes
Star 11 https://patch-diff.githubusercontent.com/login?return_to=%2Flpatmo%2Fgit-training-notes
@PeterBellhttps://github.com/PeterBell
11 stars https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/stargazers
5 forks https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/forks
Branches https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/branches
Tags https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/tags
Activity https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Flpatmo%2Fgit-training-notes
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Flpatmo%2Fgit-training-notes
Code https://patch-diff.githubusercontent.com/lpatmo/git-training-notes
Issues 0 https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/issues
Pull requests 0 https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/pulls
Actions https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/actions
Projects 0 https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/projects
Wiki https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/wiki
Security 0 https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/security
Insights https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/pulse
Code https://patch-diff.githubusercontent.com/lpatmo/git-training-notes
Issues https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/issues
Pull requests https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/pulls
Actions https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/actions
Projects https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/projects
Wiki https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/wiki
Security https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/security
Insights https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/pulse
Brancheshttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/branches
Tagshttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/tags
https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/branches
https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/tags
22 Commitshttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/commits/master/
https://patch-diff.githubusercontent.com/lpatmo/git-training-notes/commits/master/
README.mdhttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes
@PeterBellhttps://twitter.com/PeterBell
@aidenfeldmanhttps://twitter.com/aidanfeldman
I. General Commands to Rememberhttps://github.com/lpatmo/git-training-notes#i-general-commands-to-remember-1
How do I check or configure a username?https://github.com/lpatmo/git-training-notes#how-do-i-check-or-configure-a-username
How do I check or change my e-mail address?https://github.com/lpatmo/git-training-notes#how-do-i-check-or-change-my-e-mail-address
What's the most simple workflow for creating and pushing up to a repository?https://github.com/lpatmo/git-training-notes#whats-the-most-simple-workflow-for-creating-and-pushing-up-to-a-repository
How do I rename or delete a file?https://github.com/lpatmo/git-training-notes#how-do-i-rename-or-delete-a-file
How do I create a new branch?https://github.com/lpatmo/git-training-notes#how-do-i-create-a-new-branch
How do I switch to a branch?https://github.com/lpatmo/git-training-notes#how-do-i-switch-to-a-branch
How do I see all the branches?https://github.com/lpatmo/git-training-notes#how-do-i-see-all-the-branches
What does it mean when your terminal tells you "your branch is ahead of 'origin/master' by 3 commits"?https://github.com/lpatmo/git-training-notes#what-does-it-mean-when-your-terminal-tells-you-your-branch-is-ahead-of-originmaster-by-3-commits
.gitignore?https://github.com/lpatmo/git-training-notes#gitignore
How do I create and then merge a branch?https://github.com/lpatmo/git-training-notes#how-do-i-create-and-then-merge-a-branch
How do I do a recursive merge, and why is a recursive merge preferable to a fast-forward merge?https://github.com/lpatmo/git-training-notes#how-do-i-do-a-recursive-merge-and-why-is-a-recursive-merge-preferable-to-a-fast-forward-merge
How do I resolve a merge conflict?https://github.com/lpatmo/git-training-notes#how-do-i-resolve-a-merge-conflict
What is git rebase, and why do I need to do it?https://github.com/lpatmo/git-training-notes#what-is-git-rebase-and-why-do-i-need-to-do-it
Can you give me an example of when I would use git rebase?https://github.com/lpatmo/git-training-notes#can-you-give-me-an-example-of-when-i-would-use-git-rebase
What happens if there is a rebase conflict?https://github.com/lpatmo/git-training-notes#what-happens-if-there-is-a-rebase-conflict
What do I do if I forget the --no-ff when I merge?https://github.com/lpatmo/git-training-notes#what-do-i-do-if-i-forget-the---no-ff-when-i-merge
What is the difference between a git fetch and a git pull?https://github.com/lpatmo/git-training-notes#what-is-the-difference-between-a-git-fetch-and-a-git-pull
Why should I do a git fetch but not a git pull?https://github.com/lpatmo/git-training-notes#why-should-i-do-a-git-fetch-but-not-a-git-pull
What is the difference between git pull --rebase' andgit fetch+git rebase origin master`?https://github.com/lpatmo/git-training-notes#what-is-the-difference-between-git-pull---rebase-andgit-fetchgit-rebase-origin-master
When would I clone a repository from the shared repository and when should I fork a repository?https://github.com/lpatmo/git-training-notes#what-is-the-difference-between-git-pull---rebase-andgit-fetchgit-rebase-origin-master
II. Useful Tipshttps://github.com/lpatmo/git-training-notes#ii-useful-tips-1
How do I see a history of commands I typed into the terminal?https://github.com/lpatmo/git-training-notes#how-do-i-see-a-history-of-commands-i-typed-into-the-terminal
What git configuration settings should I take advantage of?https://github.com/lpatmo/git-training-notes#what-configuration-settings-can-i-take-advantage-of
https://github.com/lpatmo/git-training-notes#how-do-i-see-whats-under-the-hood-in-git](Howhttps://github.com/lpatmo/git-training-notes#how-do-i-see-whats-under-the-hood-in-git](How
What are some shortcuts for adding or staging files?https://github.com/lpatmo/git-training-notes#what-are-some-shortcuts-for-adding-or-staging-files
How do I see all the changes going into the next commit?https://github.com/lpatmo/git-training-notes#how-do-i-see-all-the-changes-going-into-the-next-commit
What if I want to uncommit something from the staging area?https://github.com/lpatmo/git-training-notes#what-if-i-want-to-uncommit-something-from-the-staging-area
III. Releasing to Production, Stashing, and How to Undohttps://github.com/lpatmo/git-training-notes#iii-releasing-to-production-stashing-and-how-to-undo-1
What are tags?https://github.com/lpatmo/git-training-notes#what-are-tags
What if we need to add a hotfix?https://github.com/lpatmo/git-training-notes#what-if-we-need-to-add-a-hotfix
What is cherrypicking?https://github.com/lpatmo/git-training-notes#what-is-cherrypicking
What is stashing?https://github.com/lpatmo/git-training-notes#what-is-stashing
How do I undo a commit message message that the cat walked over?https://github.com/lpatmo/git-training-notes#how-do-i-undo-a-commit-message-message-that-the-cat-walked-over
How do I undo any commit?https://github.com/lpatmo/git-training-notes#how-do-i-undo-any-commit
Let's play with git reset! (a.k.a. 'What is git reset?')https://github.com/lpatmo/git-training-notes#lets-play-with-git-reset-aka-what-is-git-reset
How do I take the last two commits and squash them into one?https://github.com/lpatmo/git-training-notes#how-do-i-take-the-last-two-commits-and-squash-them-into-one
What if I want a file that I excised via git reset --hard back within the next 30 days?https://github.com/lpatmo/git-training-notes#what-if-i-want-a-file-that-i-excised-via-git-reset---hard-back-within-the-next-30-days
IV. Some External Resourceshttps://github.com/lpatmo/git-training-notes#iv-some-external-resources-1
https://help.github.com/articles/set-up-githttps://help.github.com/articles/set-up-git
http://blog.nicoschuele.com/posts/git-2-0-changes-push-default-to-simplehttp://blog.nicoschuele.com/posts/git-2-0-changes-push-default-to-simple
http://training.github.com/kit/http://training.github.com/kit/
http://training.github.com/kit/downloads/github-git-cheat-sheet.pdfhttp://training.github.com/kit/downloads/github-git-cheat-sheet.pdf
https://www.atlassian.com/git/tutorial/rewriting-git-history#!rebasehttps://www.atlassian.com/git/tutorial/rewriting-git-history#!rebase
@PeterBellhttps://github.com/PeterBell
Readme https://patch-diff.githubusercontent.com/lpatmo/git-training-notes#readme-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes
Activityhttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/activity
11 starshttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/stargazers
1 watchinghttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/watchers
5 forkshttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Flpatmo%2Fgit-training-notes&report=lpatmo+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/lpatmo/git-training-notes/releases
Packages 0https://patch-diff.githubusercontent.com/users/lpatmo/packages?repo_name=git-training-notes
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.