"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Sylvain <sylvain@saboua.me>
Subject:
git add equivalent – add only selected files
To:
gameoftrees@openbsd.org
Date:
Thu, 06 Mar 2025 05:41:24 +0100

Download raw body.

Thread
Prior to putting my website source code in a got repo for public display, I performed a little trick involving mainly mv commands in order to trim my website's folder of irrelevant content, which I restored afterwards.

I neglected to add the *.css files, located in /doc along with a bunch of other documents. Is there a command to commit those files, and only those files, to the repo ?

My ~/.history file has several got checkout -p doc [...] attempts that failed.
Sylvain Saboua