On Mon, 19 Dec 2016 17:43:18 +0100 Pablo Rodríguez <[email protected]> wrote:
> I have a local repository and a remote at GitHub. My local repo had a > master branch and the remote had only a gh-pages branch. > > I wanted to pull from my gh-pages remote branch (with "git pull origin > gh-pages"). I was about to commit on the master branch and I realized > I had no local gh-pages branch. So I put a blank message, to avoid > commiting to the master branch. > > I unstaged the changes with "git reset HEAD", but how can I remove the > already fetched files. I mean, is there something I have to do after > unstaging the fetched files? I'm not sure I understood the course of actions but can you elaborate on your current situation? Precisely, when you "unstaged the changes" -- are those "extraneous" files you asking about now untracked or tracked with unstaged changes? Copying an pasting the output of running git status would help immensely. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
