Re: Broken Repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx: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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]