{"thread":{"id":"23646","subject":"How to push to remote(dropbox) when submit automatically?","startedAt":"2010-05-01T01:42:35Z","lastAt":"2010-05-03T21:06:12Z","messageCount":2,"participants":["David Lee","Avery Pennarun"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"140667","messageId":"4BDB870B.8080503@gmail.com","threadId":"23646","inReplyTo":null,"subject":"How to push to remote(dropbox) when submit automatically?","fromName":"David Lee","fromEmail":"zhushenli2@gmail.com","sentAt":"2010-05-01T01:42:35Z","receivedAt":"2010-05-01T01:42:35Z","isPatch":false,"sender":{"key":"zhushenli2@gmail.com","avatar":null},"body":"Hi all,\n\nI am new to git and find it powerful.\n\nI build a local repository(origin) and clone it to dropbox \ndirectory(dropbox-git). Each time I submit to origin, I have to \"git \npush dropbox-git\" manually.\n\nHow to push to remote when I submit automatically?\n\nThanks,\nDavid\n"},{"id":"140852","messageId":"r2w32541b131005031406p465f0acbg8c5850a7a851eeed@mail.gmail.com","threadId":"23646","inReplyTo":"4BDB870B.8080503@gmail.com","subject":"Re: How to push to remote(dropbox) when submit automatically?","fromName":"Avery Pennarun","fromEmail":"apenwarr@gmail.com","sentAt":"2010-05-03T21:06:12Z","receivedAt":"2010-05-03T21:06:12Z","isPatch":false,"sender":{"key":"apenwarr@gmail.com","avatar":"https://avatars.githubusercontent.com/u/20592?v=4"},"body":"On Fri, Apr 30, 2010 at 9:42 PM, David Lee <zhushenli2@gmail.com> wrote:\n> I am new to git and find it powerful.\n>\n> I build a local repository(origin) and clone it to dropbox\n> directory(dropbox-git). Each time I submit to origin, I have to \"git push\n> dropbox-git\" manually.\n>\n> How to push to remote when I submit automatically?\n\nI would suggest making a simple shell script for this.  Then run it\ninstead of 'git push'.\n\nAvery\n"}]}