Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: Repository specific git commands

From: Ciprian Dorin Craciun <hidden>
Date: 2016-06-15 22:44:02

On 1/7/08, Johannes Schindelin [off-list ref] wrote:
Hi,

On Mon, 7 Jan 2008, Ciprian Dorin Craciun wrote:
quoted
    -- either define an alias -- but usually it is very restrictive in
terms of what the alias can do;
You probably missed the possibility of executing a shell command (or
commands) viathe  "!" prefix.

See also

        http://git.or.cz/gitwiki/Aliases/

Hth,
Dscho
    I knew about the "!" prefix but this allows me to write only a
one-line script... But in the case I want more complex scripts? (Just
look at how hard it is to read the "Getting the diff of only one
function" example...) (Yes I could create a script, place it in a
special folder and add an alias to it -- remembering to put the right
path... But it is not as simple as adding it to the bin directory.)

    Ciprian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help