Fixing warning from git
Posted
by japancheese
on Stack Overflow
See other posts from Stack Overflow
or by japancheese
Published on 2010-06-18T16:12:42Z
Indexed on
2010/06/18
16:33 UTC
Read the original article
Hit count: 350
I've been doing a workflow of making a git repository on a remote central repository, cloning that repo on my local dev machine, doing some work, and then pushing the changes back to the same repo on the remote server.
However, and I believe this was after an update I did to git recently, after pushing up a change, I'm getting the following warning:
Counting objects: 2724, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2666/2666), done.
Writing objects: 100% (2723/2723), 5.90 MiB | 313 KiB/s, done.
Total 2723 (delta 219), reused 0 (delta 0)
warning: updating the currently checked out branch; this may cause confusion,
as the index and working tree do not reflect changes that are now in HEAD.
Can someone explain to me exactly what this warning means, and what I'm doing wrong in my workflow to not receive this warning?
© Stack Overflow or respective owner