这是gitlab新建仓库以后的官方提示,感觉非常有用:
 注:
假设项目名称叫 demo1
 ssh 路径为:ssh://git@10.229.28.94:8081/your_name/demo1.git
Command line instructions
 You can also upload existing files from your computer using the instructions below.
 Git global setup
 git config --global user.name "your_name"
 git config --global user.email "your_email@any.com.cn"
1、在本地新建一个仓库
Create a new repository
 git clone ssh://git@10.229.28.94:8081/your_name/demo1.git
 cd demo1
 touch README.md
 git add README.md
 git commit -m "add README"
 git push -u origin master
2、将本地已存在的文件提交到远程git仓库
Push an existing folder
 cd existing_folder
 git init
 git remote add origin ssh://git@10.229.28.94:8081/your_name/demo1.git
 git add .
 git commit -m "Initial commit"
 git push -u origin master
3、将本地已存在的仓库提交到远程git仓库
Push an existing Git repository
 cd existing_repo
 git remote rename origin old-origin
 git remote add origin ssh://git@10.229.28.94:8081/your_name/demo1.git
 git push -u origin --all
 git push -u origin --tags
从dockerhub构建 code-server环境并解决终端打不开的问题
docker pull linuxserver/code-server:latest
docker run -d \
   --name=code-server \
   -e PUID=1000 \
   -e PGID=1000 \
   -e TZ=Europe/London \
   -e PASSWORD=your_pwd \
   -e SUDO_PASSWORD=your_pwd \
   -e DEFAULT_WORKSPACE=/mnt/store50t \
   -p 18443:8443 \
   -v /mnt:/mnt \
   --restart unless-stopped \
   linuxserver/code-server:latest
遇到终端打不开问题(The terminal process "/usr/bin/bash" failed to launch)
settings 中输入:
terminal.integrated.profiles.linux
修改为:
{
     "terminal.integrated.profiles.linux": {
        "bash": {
             "path": "/usr/bin/bash",
             "icon": "terminal-bash"
         },
         "zsh": {
             "path": "/usr/bin/zsh"
         },
         "fish": {
             "path": "fish"
         },
         "tmux": {
             "path": "tmux",
             "icon": "terminal-tmux"
         },
         "pwsh": {
             "path": "pwsh",
             "icon": "terminal-powershell"
         }
     }
 }