zoukankan      html  css  js  c++  java
  • 6.Git工具

    Git工具分类

    Git工具的下载与安装

    • 一般启动用Git Bash

    设置Git Bash 环境

    LOOKS - CURSOR 光标颜色

    在E盘放仓库

    -在某一个盘建立仓库
    -GitBash后面的波浪线代表当前目录

    Bash命令体验


    Welcome to Git (version 1.9.5-preview20150319)

    Run 'git help git' to display the help index.
    Run 'git help ' to display help for specific commands.

    Administrator@SKY-20170313FFD /E/Github
    $ pwd
    /E/Github

    Administrator@SKY-20170313FFD /E/Github
    $ mkdir hello

    Administrator@SKY-20170313FFD /E/Github
    $ cd hello

    Administrator@SKY-20170313FFD /E/Github/hello
    $ pwd
    /E/Github/hello

    Administrator@SKY-20170313FFD /E/Github/hello
    $ echo hello
    hello

    Administrator@SKY-20170313FFD /E/Github/hello
    $ echo 'hello' > a.txt

    Administrator@SKY-20170313FFD /E/Github/hello
    $ cat a.txt
    hello

    Administrator@SKY-20170313FFD /E/Github/hello
    $ cp a.txt b.txt

    Administrator@SKY-20170313FFD /E/Github/hello
    $ ls ..
    Git github.jpg hello

    Administrator@SKY-20170313FFD /E/Github/hello
    $ move b.txt ../b.txt
    sh: move: command not found

    Administrator@SKY-20170313FFD /E/Github/hello
    $ mv b.txt ../b.txt

    Administrator@SKY-20170313FFD /E/Github/hello
    $ ls
    a.txt

    Administrator@SKY-20170313FFD /E/Github/hello
    $ mv a.txt c.txt

    Administrator@SKY-20170313FFD /E/Github/hello
    $ rm c.txt

    git config --list 查看配置信息

    配置:

    git config --global user.name "wangding"
    git config --global user.email "xxxxxxx"

    git version 查看安装环境

    <wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">





  • 相关阅读:
    SQL SERVER列转换行及UNPIVOT
    25.元素,元素内容和元素属性 Walker
    16.开发工具介绍 Walker
    13.前后端程序浅解 Walker
    21.创建标准的html文件 Walker
    15.html和html5 Walker
    24.代码注释 Walker
    22.文档的基本结构 Walker
    23.单标签和双标签 Walker
    26.代码书写规范 Walker
  • 原文地址:https://www.cnblogs.com/xuxaut-558/p/9910826.html
Copyright © 2011-2022 走看看