From: alex Date: Sun, 15 Dec 2024 18:57:35 +0000 (+0100) Subject: Add GitHub annoyances X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=68e66d103e7b3c18d1b6c240f80adfcdd867914e;p=alex.git Add GitHub annoyances --- diff --git a/programming/git/github_annoyances.md b/programming/git/github_annoyances.md new file mode 100644 index 0000000..df373bd --- /dev/null +++ b/programming/git/github_annoyances.md @@ -0,0 +1,9 @@ +# GitHub annoyances + +## The repository creation wizard can be confusing initially + +When creating a new repo, GitHub offers you to populate the repository with some files (a README, a `.gitignore` file, a license). + +In some situations, you have an existing directory in your computer with files that you want to be the initial contents of the repo. +If you create a truly empty repo, then GitHub displays some instructions that can help pushing the contents of your existing directory to the new repo. +If you use the GitHub features to populate the repo, then GitHub does not display these instructions and uploading your files requires more knowledge.