Skip to content

Instantly share code, notes, and snippets.

View zexingguo's full-sized avatar
🎯
Focusing

Jack G. zexingguo

🎯
Focusing
View GitHub Profile
@zexingguo
zexingguo / zshgit.md
Created November 27, 2018 08:27 — forked from AdamMarsden/zshgit.md
Oh My Zsh - Git Cheat Sheet

#Oh My Zsh - Git Cheat Sheet

ggit

gstgit status

glgit pull

gupgit pull --rebase

@zexingguo
zexingguo / create-cruv-app.sh
Created August 22, 2018 02:11 — forked from jamesknelson/create-cruv-app.sh
React CRUV - 4 directories to solve project structure for good
create-react-app myapp
cd myapp/src
mkdir containers routes utils views
touch config.js contexts.js
mv App.* routes
sed -i '' -e 's/.\/App/.\/routes\/App/g' index.js
@zexingguo
zexingguo / Update remote repo
Created May 23, 2018 06:29 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket