Re: Proposed command: git-sync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9. okt.. 2007, at 21.26, Sven Herzberg wrote:

I really regularly find myself typing git pull directly after git push. That's why I write a small shell script that might be added to the stock
git distribution.

Regards,
 Sven

PS: Please add me to the CC of your replies, I don't read this list.
#!/bin/bash

git push && git pull


I know this isn't really helpful, but you can accomplish the same thing by putting the following in your ~/.gitconfig:

[alias]
	sync = "! git push && git pull"

Eyvind Bernhardsen

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux