【git init proj】

…or create a new repository on the command line

echo "# coder_rules" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:hughedward/coder_rules.git
git push -u origin main

…or push an existing repository from the command line

git remote add origin git@github.com:hughedward/coder_rules.git
git branch -M main
git push -u origin main
posted @ 2025-06-07 17:16  十三山入秋  阅读(6)  评论(0)    收藏  举报