在命令行上创建一个新的存储库
echo "# example-flink" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:zhouzhxu/example-flink.git
git push -u origin main
从命令行推送现有存储库
git remote add origin git@github.com:zhouzhxu/example-flink.git
git branch -M main
git push -u origin main
从命令行拉取指定分支代码到本地
# 指定要拉取的分支
git pull origin master