Fatal unable tu create .... .git/refs/heads/master.lock': File exists

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
permission 644

what can we do? if we delete file no new file is creating but i we can push

@welance

Its good if you can provide us login details of your server.
You can add my ssh keys in your server

  
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCfOQT1KuPV5xIM/OegblH2+qbHVVQWle/mqd9D1HeqAisbdXLWs+0wMwPDzOhseAUEF73OVuYb8EvCqO9GkaGoA7w3sI3NwgxykgFA+/Y8jTmTi83ynOTbajZQmptNVBrrwE0qM8VeVLYLatBFVZSSTngqOozhAXcevcZQBzn3rAezpRWt0VLz4CpAA8Z0UahMsEFQUfVYsGIpeAwD0SX1oDrVV1GBvxmZbz66IcIn1DRmG38n8G3lE6ErqG0BT+wc+UjAhh7k5YpyyoziLG85FEihUqlxZX8cCh4qN6Jd18Jc+tu4BLcLu69o+TdPXiW6Wci8KzsrVIABaR0SRn2j mitesh@rtCamp  

Or just send me the server ssh access at my email address [email protected]