Skip to content

Instantly share code, notes, and snippets.

View Genuifx's full-sized avatar
:octocat:
Thinking

WZT Genuifx

:octocat:
Thinking
View GitHub Profile
@Genuifx
Genuifx / fork_pull.md
Last active December 20, 2018 04:06
在Github fork的分支 同步原分支提交

仓库 A 地址为:git@github.com:a/a.git

fork A 到 B 地址是:git@github.com:b/b.git

此时 A 仓库有新的 commit.

B 需要同步 A 的更新:

git remote add ao git@github.com:a/a.git
@Genuifx
Genuifx / MySQL_macOS_Sierra.md
Created February 5, 2018 02:15 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :