Date: Wed, 18 Sep 2024 22:29:15 +0800 From: Philip Paeps <philip@freebsd.org> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: git@freebsd.org Subject: Re: Issue with git add Message-ID: <40DEBC29-8D48-4FF4-845C-508108BF8B09@freebsd.org> In-Reply-To: <03a47b71f3b000bf05c630c79d23c2d4@Leidinger.net> References: <03a47b71f3b000bf05c630c79d23c2d4@Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2024-09-18 22:00:56 (+0800), Alexander Leidinger wrote:
> git add doesn't add files. And I don't see them in git status:
> ---snip---
> Mittwoch, 18. September 2024, 15:03:11
> {0} <FreeBSD 15.0-CURRENT> [commit:~/FreeBSD/GIT/ports]
> (256) netchild@ttypts/2 % export LC_ALL=C
>
> Wednesday, 18. September 2024, 15:03:18
> {0} <FreeBSD 15.0-CURRENT> [commit:~/FreeBSD/GIT/ports]
> (257) netchild@ttypts/2 % git apply
> /tmp/0001-www-lua-resty-session3-new-port-sticking-to-version-.patch
This creates a commit.
> Wednesday, 18. September 2024, 15:03:24
> {0} <FreeBSD 15.0-CURRENT> [commit:~/FreeBSD/GIT/ports]
> (25😎 netchild@ttypts/2 % git add www/lua-resty-session3
> www/lua-resty-session3/*
Does git status before git add show any modified files?
> Wednesday, 18. September 2024, 15:03:41
> {0} <FreeBSD 15.0-CURRENT> [commit:~/FreeBSD/GIT/ports]
> (259) netchild@ttypts/2 % git status
> On branch main
> Your branch is ahead of 'freebsd/main' by 1 commit.
> (use "git push" to publish your local commits)
Try git show. You might want git reset. Or git commit --amend.
> What's wrong here?
Nothing. Probably. :-D
Philip
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40DEBC29-8D48-4FF4-845C-508108BF8B09>
