I have been working a local repository synced with a GitHub repository.
Recently our GitHub repository has a newly created branch
Locally, I first run
git checkout release, which seems successful, and says:
Branch release set up to track remote branch release from origin.
Switched to a new branch 'release'
I heard that when
release doesn't exist locally,
git checkout release will pull from a branch also named the same as
release from repository
So I think running
git pull isn't necessary. But to my surprise, when I run
git pull, it tells me that
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
git pull tell me it will merge? What is the reason for the merge?
What shall i do then?