zoukankan      html  css  js  c++  java
  • Git Push files into the repository

    docker git init
    git clone
    //You should enter the folder which have a ".gitigore" file
    and copy files which you want to git push for your repository
    into that folder
    git add --all
    git commit --all -m update
    git push origin // master

    //
    git init
    //touchdock sample.txt
    git add sample.txt // git add . = add all~
    git commit -m "first commit"
    git status
    git log

    tmux
    tmux new -s session_name
    tmux a -t session_name //return session
    tmux kill -session -t session_name

    docker
    docker run -itd --name ubuntu-test ubuntu /bin/bash
    docker exec -it 243c32535da7 /bin/bash
    doker rm -f
    docker logs -f --until=2s test

    部署
    创建docker 镜像
    docker build -t xiechengtravel .
    运行镜像
    docker run -d --name xiechengapi -p 8080:80 imageName

  • 相关阅读:
    Windows 下搭建FTP服务器
    PHP的异常以及异常存在的意义
    IE兼容性
    YII插件
    PHPCMS部件
    YII学习笔记
    MAC下PHP开发
    iframe
    centos+apache+mod_ssl
    xcode快捷键
  • 原文地址:https://www.cnblogs.com/liflower/p/14045740.html
Copyright © 2011-2022 走看看