Skip to content

Add note on 'git restore' to Instructor Notes#1109

Merged
erinmgraham merged 1 commit intoswcarpentry:mainfrom
gray95:checkout-context
Jan 29, 2026
Merged

Add note on 'git restore' to Instructor Notes#1109
erinmgraham merged 1 commit intoswcarpentry:mainfrom
gray95:checkout-context

Conversation

@gray95
Copy link
Copy Markdown
Contributor

@gray95 gray95 commented Jan 29, 2026

This PR addresses issue #1020 by adding a note on git restore to instructor-notes.md clarifying its relation to git checkout.

Info on these changes can be found here, here, and in Git's release notes.

git switch is not mentioned in the lesson to the best of my knowledge so I didn't mention it even though it was introduced at the same time as git restore.

Added a note on the 'git restore' command to clarify its relation to 'git checkout'.
@github-actions
Copy link
Copy Markdown

🆗 Pre-flight checks passed 😃

This pull request has been checked and contains no modified workflow files, spoofing, or invalid commits.

It should be safe to Approve and Run the workflows that need maintainer approval.

@erinmgraham erinmgraham merged commit 4061473 into swcarpentry:main Jan 29, 2026
1 check passed
@erinmgraham
Copy link
Copy Markdown
Contributor

Looks good to me too!

github-actions Bot pushed a commit that referenced this pull request Jan 29, 2026
Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Jan 29, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
@gray95 gray95 deleted the checkout-context branch January 30, 2026 00:04
github-actions Bot pushed a commit that referenced this pull request Feb 3, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Feb 5, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Feb 10, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Feb 17, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Feb 24, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Mar 3, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Mar 3, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Mar 10, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Mar 17, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Mar 24, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Mar 31, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
github-actions Bot pushed a commit that referenced this pull request Apr 7, 2026
Auto-generated via `{sandpaper}`
Source  : 9932839
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-01-29 19:52:12 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4061473
Branch  : main
Author  : erinmgraham <erin.graham@jcu.edu.au>
Time    : 2026-01-29 19:50:49 +0000
Message : Merge pull request #1109 from gray95/checkout-context

Add note on 'git restore' to Instructor Notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants