📜  设置 git 存储库 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:42.441000             🧑  作者: Mango

代码示例3
# New local repository
git init
git add .
git commit -m "Initial commit"

# New remote repository
git remote add origin git@github.com:username/new_repo #ssh
# Now push
git push -u origin master