Git Missing Commit error

前端 未结 2 547
刺人心
刺人心 2021-01-13 06:13

We recently changed the location of a repository, and we discovered a months-old commit is missing from the files. The old server we had the Git on is down, so there is no c

2条回答
  •  生来不讨喜
    2021-01-13 06:37

    Remove the .git directory from application directory. Create the new one using "git init" inside your application root directory and continue with

    "git add ."
    "git commit -m your comment" 
    "git push origin master"
    

    Hope this will work!!!

提交回复
热议问题