echo "專案名稱" >> README.md |
git init |
PS E:\資料、文檔\0.文件\GitTechNote> git init Initialized empty Git repository in E:/資料、文檔/0.文件/GitTechNote/.git/ |
git add . |
PS E:\資料、文檔\0.文件\GitTechNote> git status On branch master No commits yet Changes to be committed: (use "git rm --cached <file>..." to unstage) new file: GitCommand.png new file: NewRepository.png new file: QuickSetup.png new file: README.md new file: Right.png new file: WinRight.png new file: WindowsPowerShell.png new file: GitTechNote.md |
git commit -m "1st commit" |
PS E:\資料、文檔\0.文件\GitTechNote> git commit -m "1st commit" [master (root-commit) eaf9805] 1st commit 8 files changed, 65 insertions(+) create mode 100644 GitCommand.png create mode 100644 NewRepository.png create mode 100644 QuickSetup.png create mode 100644 README.md create mode 100644 Right.png create mode 100644 WinRight.png create mode 100644 WindowsPowerShell.png create mode 100644 GitTechNote.md |
git branch -M main |
PS E:\資料、文檔\0.文件\GitTechNote> git branch * main |
git remote add origin https://github.com/"你的Github帳號"/"專案名稱".git |
git push -u origin main |
PS E:\資料、文檔\0.文件\GitTechNote> git push -u origin main Enumerating objects: 22, done. Counting objects: 100% (22/22), done. Delta compression using up to 12 threads Compressing objects: 100% (21/21), done. Writing objects: 100% (22/22), 218.01 KiB | 19.82 MiB/s, done. Total 22 (delta 9), reused 0 (delta 0), pack-reused 0 remote: Resolving deltas: 100% (9/9), done. To https://github.com/"你的Github帳號"/111.git * [new branch] main -> main branch 'main' set up to track 'origin/main'. |
PS E:\資料、文檔\0.文件\GitTechNote> git add . PS E:\資料、文檔\0.文件\GitTechNote> git commit -m "edit" [main 110fb27] edit 2 files changed, 3 insertions(+), 1 deletion(-) PS E:\資料、文檔\0.文件\GitTechNote> git push Enumerating objects: 7, done. Counting objects: 100% (7/7), done. Delta compression using up to 12 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 69.09 KiB | 23.03 MiB/s, done. Total 4 (delta 2), reused 0 (delta 0), pack-reused 0 remote: Resolving deltas: 100% (2/2), completed with 2 local objects. To https://github.com/"你的Github帳號"/111.git a50c53c..110fb27 main -> main |
【Life】 (0)
└Composition (4)
└Technology (10)
└Picture (5)
└Diary (14)
└Game (0)
【RPG_Guild】 (1)
└Character (4)
└Setting (6)
└Story (0)
【箱庭_Guild】 (0)
└Character (5)
└Setting (9)
└Story (2)
└Item (4)
└NonPlayerCharacter (5)
└Mob (1)