Open SJaffa opened 2 days ago
Might be easiest if we copy the setup instructions from the git SwC course?
Yes - it gets covered in the installation, but not if learners already have git installed.
The Git Bash installation presents the user with lots of configuration options - we recommend changing the following two and accepting the default values for all of the others:
On Tue, Jul 2, 2024 at 10:22 AM S Jaffa @.***> wrote:
When making a new repo the default branch name might be main or master. If we want it to be consistent later on (so people don't copy us to type main and get stuck because their's is master), we should add the default branch name to the git config instruction in the setup
git config --global init.defaultBranch main
— Reply to this email directly, view it on GitHub https://github.com/carpentries-incubator/fair-research-software/issues/107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7AAXQVKWXIC2NGDZTQ6MDZKJWO3AVCNFSM6AAAAABKHELNCOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DKNZSGU2DCMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
When making a new repo the default branch name might be
main
ormaster
. If we want it to be consistent later on (so people don't copy us to type main and get stuck because their's is master), we should add the default branch name to the git config instruction in the setupgit config --global init.defaultBranch main