carpentries-incubator / git-novice-branch-pr

Version Control with Git
https://carpentries-incubator.github.io/git-novice-branch-pr
Other
5 stars 16 forks source link

Address switching branches with uncommitted changes in repo #10

Open pshriwise opened 7 years ago

pshriwise commented 7 years ago

Something to add to the branches lesson.

Learners should probably understand why Git won't let them checkout another branch if there are uncommitted changes to the repo that will cause conflicts.

sstevens2 commented 2 years ago

This came up in the workshop today! Someone asked what happens if you have uncommitted changes. We should add a callout box when we make the pythondev branch.