You have unstaged changes. error: please commit or stash them. code example Example: stash unstaged changes git stash -k -u