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

Re: How to push to remote(dropbox) when submit automatically?

From
Avery Pennarun <apenwarr@gmail.com>
Date
May 3, 2010, 21:06 UTC
Message-ID
<r2w32541b131005031406p465f0acbg8c5850a7a851eeed@mail.gmail.com>
In-Reply-To
<4BDB870B.8080503@gmail.com>
On Fri, Apr 30, 2010 at 9:42 PM, David Lee <zhushenli2@gmail.com> wrote:
Show 7 quoted lines
> I am new to git and find it powerful.
>
> I build a local repository(origin) and clone it to dropbox
> directory(dropbox-git). Each time I submit to origin, I have to "git push
> dropbox-git" manually.
>
> How to push to remote when I submit automatically?

I would suggest making a simple shell script for this. Then run it instead of 'git push'.

Avery
Previous: David Lee
Message 2 of 2 in “How to push to remote(dropbox) when submit automatically?”
  1. David LeeMay 1, 2010
  2. Avery PennarunMay 3, 2010

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.