our server crashed. after rebuild we had to override git repositories from tar backup. pull it working but push always ends in error.
fatal unable to create … .git/refs/heads/master.lock’: File exists.
owner of file master.lock git:www-data
what can we do? if we delete file no new file is creating but i we can push