3 ms·
As far as I can tell, the only step that I left out is "git init". Switching branches without losing your changes is poor form anyway. You should be committin
by sunchild 17y ago
As far as I can tell, the only step that I left out is "git init".
Switching branches without losing your changes is poor form anyway. You should be committing before you switch. If not, you can create multiple local branches (ick!)
As for removing, it's familiar: "git rm removed_file"