git initgit add .git commit -m "first commit"# url是指远端仓库的urlgit remote add origin urlgit push -u origin master