From: Marcus Karlsson <mk@acc.umu.se>
To: Joe Zim <contact@joezimjs.com>
Cc: git@vger.kernel.org
Subject: Re: Broken Repo
Date: Mon, 7 May 2012 09:39:58 +0200 [thread overview]
Message-ID: <20120507073713.GA863@hatchepsut.acc.umu.se> (raw)
In-Reply-To: <4FA74355.3020704@joezimjs.com>
On Sun, May 06, 2012 at 10:36:53PM -0500, Joe Zim wrote:
> Hi, I'm new here. I'm using Github right now. I have a repository
> there and a local copy on my Windows 7 PC. I made a change,
> committed it, then attempted to push it. I got a strange error that
> I can't remember. Anyway, after several attempts I decided to just
> delete the local repository, restore it from github and try again
> later. I realize now that there were other ways this should have
> been handled, but right now it doesn't matter. I can't figure out
> how to restore a copy from Github and make this renewed repo the
> master branch. Can anyone give me a detailed, step by step answer
> please?
>
> Thanks,
> Joseph Zimmerman
You deleted the local repository and want to clone it again from
GitHub right?
You can run 'git clone git@github.com:username/reponame.git' and
that should give you a new local repository cloned after the repository
on GitHub. Just replace username and reponame with the appropriate names
first and you should be up and running.
Marcus
next prev parent reply other threads:[~2012-05-07 7:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-07 3:36 Broken Repo Joe Zim
2012-05-07 7:39 ` Marcus Karlsson [this message]
2012-05-07 7:49 ` Jeff King
2012-05-07 18:12 ` Joe Zim
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120507073713.GA863@hatchepsut.acc.umu.se \
--to=mk@acc.umu.se \
--cc=contact@joezimjs.com \
--cc=git@vger.kernel.org \
/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.
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 NNTP newsgroup(s).