| +34 608 61 64 10



Git - Tell who you are

To init a repository, after tipying this pull command

git pull origin master

it will show this message

20:11:28: *** Please tell me who you are.


  git config --global ""
  git config --global "Your Name"

The correct pratice is will be

git init
git config "someone"
git config ""
git add *
git commit -m "some init msg"

But for updating a repo this solution is better

git fetch
git reset --hard origin/master

This will destroy any uncommitted local changes / commits, and will leave your HEAD pointing to a commit (not a branch).