08 June 2014

Git fatal reference error on deployment or submodule update

Sometimes we face this issue with GIT
fatal: reference is not a tree: d80ee5f27b06e84d40a7d2758525b682aaba7d72
This is because the module has not been pushed to the main repo or the branch has not been pulled on the machine the command is being executed.

Branch issues 
git checkout master
git fetch origin

Submodule issues

git submodule update

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Any inputs are welcomed : ashish.cse2010@gmail.com