Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson Contribution: Add git stash to lesson plan #893

Open
hunter-powell opened this issue Sep 12, 2022 · 1 comment
Open

Lesson Contribution: Add git stash to lesson plan #893

hunter-powell opened this issue Sep 12, 2022 · 1 comment

Comments

@hunter-powell
Copy link

hunter-powell commented Sep 12, 2022

I think adding a section on how to properly use git stash would be very beneficial to new git users. For people just getting started with coding and git it would be very useful to know how to save changes before pulling an updated version or when needing to revert to an older version for debugging purposes. All programmers run into issues and knowing how to stash current changes on git and add them back one at a time would be incredibly helpful in my opinion.

@hunter-powell hunter-powell changed the title Add git stash to lesson plan Lesson Contribution: Add git stash to lesson plan Sep 12, 2022
@benjwolff
Copy link
Contributor

benjwolff commented Dec 1, 2022

You are right: Knowing how to properly use git stash is very beneficial. From my perspective and experience, I would not teach git stash in the git-novice course. This course should cover the fundamentals and focus on the standard workflow (change, add, commit). Introducing things like git stash could be the next step in an intermediate course. Since git stash can be dangerous and lead to a loss of data, I wouldn't recommend to teach it in the git-novice course.

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

No branches or pull requests

2 participants