https://23-design-patterns-app.xgqfrms.xyz/
不同分支 git branch
$ git branch --list
# create branch
$ git branch web-app
$ git branch desktop-app
$ git branch rn-app
$ git branch flutter-app
$ git branch ssr-app
$ git branch pwa-app
$ git branch amp-app
$ git branch taro-app
# checkout branch
$ git checkout branch web-app
$ git checkout branch desktop-app
# react-native
$ git checkout branch rn-app
# flutter
$ git checkout branch flutter-app
$ git checkout branch ssr-app
$ git checkout branch pwa-app
$ git checkout branch amp-app
$ git checkout branch taro-app
$ git checkout branch flutter-app
error: pathspec 'branch' did not match any file(s) known to git
error: pathspec 'flutter-app' did not match any file(s) known to git
$ git branch -d flutter-app
$ git branch -D flutter-app
$ git remote add new-remote-repo https://github.com/xgqfrms/23-design-patterns-app.git
$ git remote add new-remote-repo https://bitbucket.com/user/repo.git
# Add remote repo to local repo config
$ git push crazy-experiment
# pushes the crazy-experiment branch to new-remote-repo
$ git branch -d crazy-experiment
# list all branch(local)
$ git branch --list
$ git branch -l
# OR
$ git branch
# list all remote branches
$ git branch -a
# Q === quit
# create branch
# $ git checkout -b <branch_name>
$ git checkout -b test
# OR
# $ git branch <branch_name>
$ git branch test
# delete branch
# -d safe delete
# $ git branch -d <branch_name>
$ git branch -d test
# Deleted branch test (was 686c96b).
# -D force delete
# $ git branch -D <branch_name>
$ git branch -D test
# rename the current branch
# $ git branch -m <branch>
$ git branch -m test
# change branch
$ git checkout branch flutter-app
# creating remote branch
# Add remote repo to local repo config
# $ git remote add new-remote-repo https://github.com/user/repo.git
$ git remote add new-remote-repo https://github.com/xgqfrms/test.git
# push the test branch to new-remote-repo
$ git push <new-remote-repo> test
https://www.atlassian.com/git/tutorials/using-branches
flutter-app
test
* master
flutter-app
test
* master
remotes/origin/HEAD -> origin/master
remotes/origin/gh-pages
remotes/origin/master
React + Redux + TypeScript
Electron
React Native
Flutter + Dart
Nest.js / Nuxt.js
Taro
- menu / navigator
- preview / details
- codes
- share