GIT: push an repository from the command line

Share:
# create a new repository on the command line ```sh echo "# DORBSLAM" >> README.md git init git add README.md git commit -m "first commit" git remote add origin [email protected]:yubaoliu/DORBSLAM.git git push -u origin master ``` # push an existing repository from the command line ```sh git remote add origin [email protected]:yubaoliu/DORBSLAM.git git push -u origin master ``` cover

No comments