Git 安装

关于Git的教程指南可以参考:

廖雪峰的官方网站: Git 教程

 

Windows 安装:

下载 选择windows 版本

安装好后,打开 Git Bash 命令框,设置参数

$ git config --global user.name "Your Name"
$ git config --global user.email "email@example.com"

 

初始化:

Git init

 

Git command 用法参考:

官方全英教程:https://git-scm.com/docs

 

常用指令:

git stash
git stash list
git stash pop stash@{num}
git stash apply stash@{num}
git stash clear

posted @ 2018-02-01 10:42  Jingggo  阅读(77)  评论(0编辑  收藏  举报