Thanks to visit codestin.com
Credit goes to github.com

Skip to content

liufei96/learning_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

gitbook的使用

## 安装
npm install gitbook-cli -g

## 初始化
gitbook init

# 启动
gitbook serve

# 文档生成
gitbook build

# 访问
http://localhost:4000/

# gitbook使用
https://zhuanlan.zhihu.com/p/34946169

http://localhost:4000/

Git的使用

# 下载git项目到本地
git clone git_url

# 查看git的分支
git branch 

# 创建分支
git branch branch_name

# 切换分支
git checkout branch_name

git status 

git diff

git add .

# 提交到本地库
git commit -m "description"


git pull origin master

# 把自己分支上改动的代码,合并到主分支上
git merge branch_name

# 提交到远程库
git push origin master

# 查看历史提交记录
git log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published