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

branch rebase and push

From
SNSungHyun Nam <goweol@gmail.com>
Date
Dec 19, 2006, 03:39 UTC
Message-ID
<45875EFC.5090408@gmail.com>
Hello,
Can I push a branch after rebase?
I got a error message:
   error: remote 'refs/heads/br' is not a strict subset of local ref
   'refs/heads/br'. maybe you are not up-to-date and need to pull first?
It worked fine if I did:
  $ git checkout -b br
  $ git pull . master
  $ git checkout master
  $ git pull
  $ git push
But I got above error message if I did:
  $ git checkout br
  $ git rebase master
  $ git checkout master
  $ git pull
  $ git push

Thanks. namsh

Next: Jakub Narebski
Message 1 of 4 in “branch rebase and push”
  1. SungHyun NamDec 19, 2006
  2. Jakub NarebskiDec 19, 2006
  3. Jakub NarebskiDec 19, 2006
  4. Johannes SchindelinDec 19, 2006

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.