- May 6, 2018
- 9
- 4
1. Check the local branch , Make sure your current branch is develop.Can anyone give advice on how to update the Beta? I tried "git pull origin develop" and it said I needed to give an email?
Thanks in advance
$ git pull origin develop
remote: Enumerating objects: 166, done.
remote: Counting objects: 100% (166/166), done.
remote: Compressing objects: 100% (96/96), done.
remote: Total 166 (delta 87), reused 133 (delta 70), pack-reused 0
Receiving objects: 100% (166/166), 598.82 KiB | 611.00 KiB/s, done.
Resolving deltas: 100% (87/87), completed with 17 local objects.
FromYou must be registered to see the links
* branch develop -> FETCH_HEAD
+ 55d4efb1b...4eca227e8 develop -> origin/develop (forced update)
Committer identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address
> git branch
2. Force reset to commit 4eca227e8 , it will revert your local changes if any.
> git reset --hard 4eca227e8
or force reset to latest HEAD from last fetch
>git reset --hard origin/develop
3. After resolved the branch forced update , you can normally pull new commits from now on.
> git fetch -p
> git pull
Last edited: