GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Oppaa/gitHelp: collection

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 

Repository files navigation

##gitHelp

场景: rebase master后若冲突不断可用

$ git merge-base master 'branch'
$ git reset [commit]
$ git add .
$ git commit -m 'ok'

场景: 提交代码基本姿势

$ git checkout master 
$ git pull
$ git checkout 'branch'
$ git pull --rebase origin 'branch'
$ git rebase master
$ git push origin 'branch'

场景: 小心翼翼地更新本地代码

$ git fetch origin master:'branch'
$ git diff 'branch'
$ git merge 'branch'
$ git branch -d 'branch'

场景: apply分支变化

git cherry-pick <commit id>

=======

node&npm

npm -v                  #显示版本,检查npm 是否正确安装。

npm install express     #安装express模块

npm install -g express  #全局安装express模块

npm view express dependencies

npm update express

npm list                #列出已安装模块

npm show express        #显示模块详情

npm update              #升级当前目录下的项目的所有模块

npm update express      #升级当前目录下的项目的指定模块

npm update -g express   #升级全局安装的express模块

npm uninstall express   #删除指定的模块

npm cache clear         #清理

scss

sass --watch --scss style.scss:style.css

* nested:嵌套缩进的css代码,它是默认值。
* expanded:没有缩进的、扩展的css代码[常用]
* compact:简洁格式的css代码。
* compressed:压缩后的css代码。

sass --style compressed test.sass test.css

mongodb

mongod  //启动

use admin  // 切换至admin后才能关闭
db.shutdownServer() 

nginx

nginx -s reload | reopen | stop | quit

About

collection

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.