git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Questions, improvements

From
BJBARDOT Jérôme <bardot.jerome@gmail.com>
Date
Oct 20, 2021, 12:25 UTC
Message-ID
<9eafffc8-8576-f1ea-45a3-ae4c337db7f1@gmail.com>
In-Reply-To
<YW85Gs8aU9rrBDOv@coredump.intra.peff.net>
On 19/10/2021 23:31, Jeff King wrote:
Show 9 quoted lines
> On Tue, Oct 19, 2021 at 07:38:16PM +0200, BARDOT Jérôme wrote:
>
>> 1)
>>
>> Why git not embed by default some gitinore rules (and can be "disable"
>> after).
>> All the time i have to add all operating system stuff, all editor stuff.
> I think you may have a hard time getting people to agree on what should
> go into those rules. ;)

Yes but for certain things i think we will are most of us agree. (In professional context)

Temp files for Operating System, file system, text editor and IDE.

It can be also a great way to improve interoperability (between tools) and identify/improve tools without personnal and team configuration.

Keep repositories clean and easily usable with an abstraction layer of tools used to do things (editor, OS, CI, etc) is what i want. 

Show 16 quoted lines
> But you may find core.excludesFile (documented in "git help config")
> helpful. You can set up your personal set of files once, and they will
> be used in every repository.
>
>> 2)
>>
>> I need a domain name / uri / ip base way to choose auth information.
>> i find some examples in past but not as smart as what i want. (Maybe i
>> miss something)
>>
>> 3)
>>
>> For auth client side can we use tools like Pass and or identity manager.
> I'm not entirely sure I understand your questions here, but I think
> you're looking for credential helpers? Try "git help credentials" for an
> overview.
you understand well
Show 10 quoted lines
> There are helpers which interact with common OS secure storage systems
> (like osxkeychain, libsecret, etc). But you can also write your own
> little scripts, and restrict them based on URLs.
>
> So for instance I use this config to pull a GitHub PAT out of the "pass"
> tool:
>
>   [credential "https://github.com"]
>   username = peff
>   helper = "!f() { test $1 = get && echo password=`pass github/token`; }; f"
Look great i will test
> -Peff
Previous: brian m. carlsonNext: brian m. carlson
Message 6 of 7 in “Questions, improvements”
  1. BARDOT JérômeOct 19, 2021
  2. Jeff KingOct 19, 2021
  3. Johannes SchindelinOct 20, 2021
  4. BARDOT JérômeOct 20, 2021
  5. brian m. carlsonOct 21, 2021
  6. BARDOT JérômeOct 20, 2021
  7. brian m. carlsonOct 21, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.