]> xn--ix-yja.es Git - alex.git/commitdiff
Add GitHub annoyances
authoralex <alex@pdp7.net>
Sun, 15 Dec 2024 18:57:35 +0000 (19:57 +0100)
committeralexpdp7 <alex@corcoles.net>
Sun, 15 Dec 2024 18:58:49 +0000 (19:58 +0100)
programming/git/github_annoyances.md [new file with mode: 0644]

diff --git a/programming/git/github_annoyances.md b/programming/git/github_annoyances.md
new file mode 100644 (file)
index 0000000..df373bd
--- /dev/null
@@ -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.