From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Ahmad Ismail <ismail783@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: save a command in history from within the widget
Date: Mon, 26 Oct 2020 22:04:46 +0000 [thread overview]
Message-ID: <20201026220446.5d9ea4c3@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <CAHAhJwK_LFjnZJx_-cc=n9UbkwZ6KD6br2V3M7WtvvHHvOeezg@mail.gmail.com>
Ahmad Ismail wrote on Mon, 26 Oct 2020 03:13 +0600:
> Thank you very much for responding. To get some context to my use case you
> can check:
>
> https://www.reddit.com/r/git/comments/jdl11c/can_not_use_some_of_my_aliases_with_bare_repo/
> https://stackoverflow.com/questions/64416625/can-not-use-some-of-my-aliases-with-bare-repo
For future reference, when asking a question, it's considered good
netiquette to (a) state the use-case explicitly, (b) cross-link to
other copies of the same question that have been (previously or
concurrently) asked elsewhere.
Consider writing a 'd' command that sets GIT_WORK_TREE and GIT_DIR in
the environment and executes git.
See also vcsh(1).
Daniel
next prev parent reply other threads:[~2020-10-26 22:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-24 19:00 Ahmad Ismail
2020-10-25 20:24 ` Daniel Shahaf
2020-10-25 21:13 ` Ahmad Ismail
2020-10-26 22:04 ` Daniel Shahaf [this message]
2020-10-27 19:01 ` Ahmad Ismail
2020-10-26 7:11 ` Roman Perepelitsa
2020-10-26 11:15 ` Ahmad Ismail
2020-10-26 14:19 ` Ahmad Ismail
2020-10-29 11:07 ` Lewis Butler
2020-10-29 23:54 ` Ahmad Ismail
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201026220446.5d9ea4c3@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=ismail783@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).