git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: 胡哲宁 <adlternative@gmail.com>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: Recover a git repo after accidentally deleting some hash files located under .git/objects.
Date: Mon, 1 Feb 2021 13:56:55 +0800	[thread overview]
Message-ID: <CAOLTT8SsmzNNvQHaP3+vQmuq0fdRbFNL8ukOvPW5Zw9+nPk32Q@mail.gmail.com> (raw)
In-Reply-To: <CAGP6POKSOaaq0A-L2RgQ+R+bJVo-KuZChEOcCuO8jP+Cm9QFPw@mail.gmail.com>

Hi,I don't think so unless you have the commit
 in github or gitlab which include this file,
maybe you can use git pull to get it.
By the way ,you can ask questions in irc chatroom #git or #git-devel.
There will be a good place to get help.
--
adlternative

Hongyi Zhao <hongyi.zhao@gmail.com> 于2021年2月1日周一 上午10:16写道:
>
> Hi,
>
> I accidentally deleted some hash files located under the project's
> .git/objects subdirectory. In this case, can I resume the project?
>
> Regards
> --
> Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
> Theory and Simulation of Materials
> Hebei Polytechnic University of Science and Technology engineering
> NO. 552 North Gangtie Road, Xingtai, China

  reply	other threads:[~2021-02-01  6:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01  2:14 Recover a git repo after accidentally deleting some hash files located under .git/objects Hongyi Zhao
2021-02-01  5:56 ` 胡哲宁 [this message]
2021-02-01  7:01   ` Hongyi Zhao
2021-02-01  7:31     ` 胡哲宁
2021-02-01  9:51   ` Michal Suchánek
2021-02-01 10:02     ` 胡哲宁

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOLTT8SsmzNNvQHaP3+vQmuq0fdRbFNL8ukOvPW5Zw9+nPk32Q@mail.gmail.com \
    --to=adlternative@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=hongyi.zhao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).