Skip to contentSkip to conversation

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

DISCUSSION David Lee 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

David Lee

author
#0 lore raw

Hi all,

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?

Thanks,
David

#1 lore raw
Quoted 7 lines · David Lee

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