Command line instructions You can also upload existing files from your computer using the instructions below.

Git global setup

1git config --global user.name "joe tung"
2git config --global user.email "dongzhi1024@outlook.com"

Create a new repository

1git clone git@gitlab.com:hopeme/hugo-zone.git
2cd hugo-zone
3touch README.md
4git add README.md
5git commit -m "add README"
6git push -u origin master

Push an existing folder

1cd existing_folder
2git init
3git remote add origin git@gitlab.com:hopeme/hugo-zone.git
4git add .
5git commit -m "Initial commit"
6git push -u origin master

Push an existing Git repository

1cd existing_repo
2git remote rename origin old-origin
3git remote add origin git@gitlab.com:hopeme/hugo-zone.git
4git push -u origin --all
5git push -u origin --tags