zoukankan      html  css  js  c++  java
  • Git

    索引:

    目录索引

    参看代码 GitHub:

    git.txt

    一、示例:

    1 git clone https://github.com/liumeng0403/lm.solution.git

    二、说明:

      1."clone" 部分

        该部分指明是对远端已存在仓库的克隆动作,远端仓库被克隆到本地后,在本地就是一个git仓库,

        并且这个git仓库自动默认追踪克隆过来的远端仓库,如 local:dev-->remote:dev、local:master-->remote:master 等等。

      2."https://github.com/liumeng0403/lm.solution.git" 部分

        这部分是远端仓库的地址(URI) ,可根据实际情况替换为自己项目的远端仓库地址。

      3.语法

        git clone [--template=<template_directory>]

            [-l]

            [-s]

            [--no-hardlinks]

            [-q]

            [-n]

            [--bare]

            [--mirror]

            [-o <name>]

            [-b <name>]

            [-u <upload-pack>]

            [--reference <repository>]

            [--separate-git-dir <git dir>]

            [--depth <depth>]

            [--[no-]single-branch]

            [--recursive|--recurse-submodules]

            [--]

            <repository>

            [<directory>] 

         上面是一个完整的 git clone 语法语句,只有 “<repository>” 项部分是必须项,语法较为简单,可自行谷歌查看每项具体含义。

                                             蒙

                                        2018-06-09 00:22 周六

  • 相关阅读:
    设计模式-创建型-原型模式
    设计模式-创建型-抽象工厂模式
    设计模式-创建型-工厂模式
    设计模式-创建型-单例模式
    css3技巧属性之text-overflow
    bootstrap如何自定义5等分
    LeetCode-64-最小路径和
    LeetCode-62-不同路径
    LeetCode-5-最长回文子串
    LeetCode-98-验证二叉搜索树
  • 原文地址:https://www.cnblogs.com/Meng-NET/p/9158098.html
Copyright © 2011-2022 走看看