{"thread":{"id":"22135","subject":"How to push changes from clone back to master","startedAt":"2010-01-08T21:28:07Z","lastAt":"2010-01-09T06:49:16Z","messageCount":4,"participants":["Simon C","Tomas Carnecky","Simon Chu","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"131131","messageId":"1262986087967-4275010.post@n2.nabble.com","threadId":"22135","inReplyTo":null,"subject":"How to push changes from clone back to master","fromName":"Simon C","fromEmail":"simonchu.web@gmail.com","sentAt":"2010-01-08T21:28:07Z","receivedAt":"2010-01-08T21:28:07Z","isPatch":false,"sender":{"key":"simonchu.web@gmail.com","avatar":null},"body":"\n\nI created master branch in git:\n\nmkdir git_master;\ncd git_master\ngit init\ngit add .\ngit commit\n\ncreate a clone\ngit clone . ../git_clone1\ncreate newfile\ngit add newfile\ngit commit .\n\nthen try to propagate changes to master\ngit push\n\nit gave me some warning, and subsequent git push says everything is up to\ndate.\nbut I do not see the new file under git_master\n-- \nView this message in context: http://n2.nabble.com/How-to-push-changes-from-clone-back-to-master-tp4275010p4275010.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"131155","messageId":"4B47D52A.1050608@dbservice.com","threadId":"22135","inReplyTo":"1262986087967-4275010.post@n2.nabble.com","subject":"Re: How to push changes from clone back to master","fromName":"Tomas Carnecky","fromEmail":"tom@dbservice.com","sentAt":"2010-01-09T01:00:26Z","receivedAt":"2010-01-09T01:00:26Z","isPatch":false,"sender":{"key":"tom@dbservice.com","avatar":"https://gravatar.com/avatar/900a300bdd1a8bbe086008ad78210bbee2ad2803b7d50a5cba04c1e9404bd6d2?d=mp&s=160"},"body":"On 1/8/10 10:28 PM, Simon C wrote:\n >\n >\n > I created master branch in git:\n >\n > mkdir git_master;\n > cd git_master\n > git init\n > git add .\n > git commit\n >\n > create a clone\n > git clone . ../git_clone1\n > create newfile\n > git add newfile\n > git commit .\n >\n > then try to propagate changes to master\n > git push\n >\n > it gave me some warning, and subsequent git push says everything is up to\n > date.\n > but I do not see the new file under git_master\n\nIf you asked that question in the official IRC channel, the answer would \nbe 'faq non-bare', which would cause the bot to send you a link to this \nentry in the Git FAQ:\nhttp://git.or.cz/gitwiki/GitFaq#Whywon.27tIseechangesintheremoterepoafter.22gitpush.22.3F\n\ntom\n"},{"id":"131168","messageId":"2394EBAE-BA99-4817-93E3-D5441D6DA46B@gmail.com","threadId":"22135","inReplyTo":"4B47D52A.1050608@dbservice.com","subject":"Re: How to push changes from clone back to master","fromName":"Simon Chu","fromEmail":"simonchu.web@gmail.com","sentAt":"2010-01-09T05:53:49Z","receivedAt":"2010-01-09T05:53:49Z","isPatch":false,"sender":{"key":"simonchu.web@gmail.com","avatar":null},"body":"Tomas,\n\nHow do I push code to master then, do I do got reset - hard on the  \nmaster??\n\nSimon\n\nOn Jan 8, 2010, at 5:00 PM, Tomas Carnecky <tom@dbservice.com> wrote:\n\n> On 1/8/10 10:28 PM, Simon C wrote:\n> >\n> >\n> > I created master branch in git:\n> >\n> > mkdir git_master;\n> > cd git_master\n> > git init\n> > git add .\n> > git commit\n> >\n> > create a clone\n> > git clone . ../git_clone1\n> > create newfile\n> > git add newfile\n> > git commit .\n> >\n> > then try to propagate changes to master\n> > git push\n> >\n> > it gave me some warning, and subsequent git push says everything  \n> is up to\n> > date.\n> > but I do not see the new file under git_master\n>\n> If you asked that question in the official IRC channel, the answer  \n> would be 'faq non-bare', which would cause the bot to send you a  \n> link to this entry in the Git FAQ:\n> http://git.or.cz/gitwiki/GitFaq#Whywon.27tIseechangesintheremoterepoafter.22gitpush.22.3F\n>\n> tom\n>\n"},{"id":"131170","messageId":"7vhbqvdb83.fsf@alter.siamese.dyndns.org","threadId":"22135","inReplyTo":"2394EBAE-BA99-4817-93E3-D5441D6DA46B@gmail.com","subject":"Re: How to push changes from clone back to master","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-09T06:49:16Z","receivedAt":"2010-01-09T06:49:16Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Simon Chu <simonchu.web@gmail.com> writes:\n\n> On Jan 8, 2010, at 5:00 PM, Tomas Carnecky <tom@dbservice.com> wrote:\n>\n>> If you asked that question in the official IRC channel, the answer\n>> would be 'faq non-bare', which would cause the bot to send you a\n>> link to this entry in the Git FAQ:\n>> http://git.or.cz/gitwiki/GitFaq#Whywon.27tIseechangesintheremoterepoafter.22gitpush.22.3F\n>\n> How do I push code to master then, do I do got reset - hard on the\n> master??\n\n(Please do not top post).\n\nIf you asked that question on the IRC, the answer would be 'faq\nmothership-satellite', which would cause the bot to send you a link to\nthis entry in the Git FAQ:\n\n    push is reverse of fetch. See\n    http://git.or.cz/gitwiki/GitFaq#mothership-satellite\n\nThis link is recommended by the entry Tomas gave you, so I am having this\nsad feeling that you wouldn't read it either...  Sigh.\n"}]}