Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 424 Bytes

first.md

File metadata and controls

17 lines (16 loc) · 424 Bytes

create a new repository on the command line

echo "# lzb" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/liuzhaobo1999/lzb.git
git push -u origin master

push an existing repository from the command line

git remote add origin https://github.com/liuzhaobo1999/lzb.git
git branch -M master
git push -u origin master