You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helper feedback from the Introduction to Git and GitHub training on Wednesday, January 29, 2025:
Reorder the git restore examples in the Reverting Changes section; the examples should be in the order:
git restore
git restore --staged
git restore -s <sha> then git commit
git revert
Someone mentioned in the chat that git restore --staged is the opposite of git add, so it might be worth having a little diagram showcasing adding changes to the point of committing the changes, then how to get out of each step. Something like https://git-scm.com/about/staging-area, but with the reverse 😊
The text was updated successfully, but these errors were encountered:
Helper feedback from the Introduction to Git and GitHub training on Wednesday, January 29, 2025:
Reorder the
git restore
examples in the Reverting Changes section; the examples should be in the order:git restore
git restore --staged
git restore -s <sha>
thengit commit
git revert
Someone mentioned in the chat that
git restore --staged
is the opposite ofgit add
, so it might be worth having a little diagram showcasing adding changes to the point of committing the changes, then how to get out of each step. Something like https://git-scm.com/about/staging-area, but with the reverse 😊The text was updated successfully, but these errors were encountered: