From aabb5854aa802686a07f71ad982c0c49363c5853 Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Sat, 21 Jun 2025 07:45:23 +0200 Subject: [PATCH] Add note for ssh users to .lfsconfig Users using ssh are suddenly asked for a username and password for lfs, add a note as to why that is and how to avoid it to the .lfsconfig in hope they will see it. Signed-off-by: Ralph Sennhauser --- .lfsconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.lfsconfig b/.lfsconfig index e065edf7a4..81015298af 100644 --- a/.lfsconfig +++ b/.lfsconfig @@ -1,2 +1,8 @@ +# If you are using ssh [1] to push and want to use it to obtain a token instead +# of using basic auth override this with: +# git config lfs.url git@gitea.wildfiregames.com/0ad/0ad.git +# +# [1] https://github.com/git-lfs/git-lfs/blob/main/docs/api/server-discovery.md#ssh + [lfs] url = https://gitea.wildfiregames.com/0ad/0ad.git/info/lfs