Skip to content

Branch is reset to master after running "gdk update"

I often need to run gdk update while working on a feature branch (for example, if I rebase my branch on master and that brings in database changes). However, after I run gdk update, my local gitlab git repo has master checked out instead of my feature branch. Is it possible to restore the branch I was originally on so that I don't have to manually check it back out each time I run gdk update?

On a related note - this branch switching behavior blows away any untracked changes. Perhaps gdk update could check for untracked changes, and if any are found, ask for confirmation before proceeding?

I GDK, keep up the great work!