git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: how to reset to remote repo

From
BLbill lam <cbill.lam@gmail.com>
Date
Feb 23, 2009, 23:19 UTC
Message-ID
<20090223231928.GA7406@b2j>
In-Reply-To
<slrngq5her.6l3.sitaramc@sitaramc.homelinux.net>
On Mon, 23 Feb 2009, Sitaram Chamarty wrote:
> I'm not sure why a rebase of any kind would remove a remote
> brancg but you can always do 'git fetch' first if you
> accidentally messed up origin/master.

Thanks. Incidentally I just found that I could git reset just before my first patch and then git pull again.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩226 王維  送別
    山中相送罷  日暮掩柴扉  春草明年綠  王孫歸不歸
Previous: Sitaram Chamarty
Message 6 of 6 in “how to reset to remote repo”
  1. bill lamFeb 23, 2009
  2. Dilip MFeb 23, 2009
  3. Sitaram ChamartyFeb 23, 2009
  4. bill lamFeb 23, 2009
  5. Sitaram ChamartyFeb 23, 2009
  6. bill lamFeb 23, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.