aboutsummaryrefslogtreecommitdiff
path: root/programming/git
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2024-12-15 19:57:35 +0100
committeralexpdp7 <alex@corcoles.net>2024-12-15 19:58:49 +0100
commit68e66d103e7b3c18d1b6c240f80adfcdd867914e (patch)
tree9309ef09f91fda7351ed292327b1eae33b99746c /programming/git
parent15b0dc6e6b0f10f939c52f0b211512052ac325f4 (diff)
Add GitHub annoyances
Diffstat (limited to 'programming/git')
-rw-r--r--programming/git/github_annoyances.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/programming/git/github_annoyances.md b/programming/git/github_annoyances.md
new file mode 100644
index 00000000..df373bd7
--- /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.