From fe4833d4dbc1c5d08786e1a45f3a0fe1a8edb128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=9F=8E?= <2304508674@qq.com> Date: Wed, 25 Sep 2024 20:16:43 +0800 Subject: [PATCH] Initial commit with v1 --- hello.txt | 1 + test1.java | 14 -------------- test2.java | 0 3 files changed, 1 insertion(+), 14 deletions(-) create mode 100644 hello.txt delete mode 100644 test1.java delete mode 100644 test2.java diff --git a/hello.txt b/hello.txt new file mode 100644 index 0000000..8e8fe0a --- /dev/null +++ b/hello.txt @@ -0,0 +1 @@ +echo "Hello, world!" \ No newline at end of file diff --git a/test1.java b/test1.java deleted file mode 100644 index a67cf81..0000000 --- a/test1.java +++ /dev/null @@ -1,14 +0,0 @@ -# 创建一个文件 -echo "Hello, world!" > hello.txt -git add . -git commit -m "Initial commit with v1" - -# 修改文件内容以创建v2 -echo "Hello, Git!" > hello.txt -git add . -git commit -m "Updated to v2" - -# 再次修改文件内容以创建v3 -echo "Hello, version control!" > hello.txt -git add . -git commit -m "Updated to v3" \ No newline at end of file diff --git a/test2.java b/test2.java deleted file mode 100644 index e69de29..0000000