Re: Newbie experience with push over ssh

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

 



On Wednesday, February 14, 2007 at 10:25:05 (-0600) Bill Lear writes:
>...
>If you must ...
>
>% cat ~/.gitconfig
>[alias]
>	scp !scp
>	rcp !rcp
>% git scp -rp . me@remotehost:/directory

Actually that was a bit tongue-in-cheek, syntactically incorrect (I
believe missing '='), I'm not actually sure it will work, nor if the
patch for this actually got in to 1.5.0.  The patch I saw does not
appear to pass the rest of the command line to the system call, but
perhaps I'm wrong and someone else can confirm.

If the patch to do this is reasonable, I would expect the command:

% git scp -rp . me@remotehost:/directory

to expand to:

% scp -rp . me@remotehost:/directory

and if not, I think it should, just as when I have:

[alias]
	pub = push /my/repo

and:

% git pub branch:branch

expands to:

% git push /my/repo branch:branch


Bill
-
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]