From 46c06b1b8fea6df9456b7ab4523245e01fe090f7 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Wed, 14 Feb 2024 02:22:34 -0600 Subject: [PATCH] [docs] Inform new contributors to `git fetch` (#2637) --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d7e11f8d..8610f5159 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -146,6 +146,8 @@ In case this post disappears, here are the steps (slightly modified): > `git remote add origin git@github.com/yourgithubname/gotosocial` > +Be sure to run `git fetch` before building the project for the first time. + ### Building GoToSocial #### Binary @@ -158,6 +160,8 @@ Once you've installed the prerequisites, you can try building the project: `./sc If there are no errors, great, you're good to go! +If you see the error `fatal: No names found, cannot describe anything.`, you need to run `git fetch`. + For automatic re-compiling during development, you can use [nodemon](https://www.npmjs.com/package/nodemon): ```bash