Re: Git push failure in the case of SSH to localhost

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

 



"Ciprian Dorin, Craciun" <ciprian.craciun@xxxxxxxxx> wrote:
> 
>     Here is what I'm trying to accomplish: I want to add to the git
> search path also the folder ${GIT_DIR}/bin if this already exists...
> (This allows me to have repository specific commands...)

for f in `cd $(git rev-parse --git-dir)/bin && ls *`; do
  git config alias.$f '!$(git rev-parse --git-dir)/bin/'$f
done

No need to patch git.
 
-- 
Shawn.
--
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