@c-Ku
2018-03-31T06:49:32.000000Z
字数 7820
阅读 619
Git
➜ kr-store git:(6ml-update-0331) ✗ git checkout 6ml-update-0330error: Your local changes to the following files would be overwritten by checkout:src/index.tsxPlease commit your changes or stash them before you switch branches.Aborting➜ kr-store git:(6ml-update-0331) ✗➜ kr-store git:(6ml-update-0331) ✗➜ kr-store git:(6ml-update-0331) ✗➜ kr-store git:(6ml-update-0331) ✗ glg➜ kr-store git:(6ml-update-0331) ✗ gstOn branch 6ml-update-0331Changes not staged for commit:(use "git add <file>..." to update what will be committed)(use "git checkout -- <file>..." to discard changes in working directory)modified: src/index.tsxno changes added to commit (use "git add" and/or "git commit -a")➜ kr-store git:(6ml-update-0331) ✗ ga .g%➜ kr-store git:(6ml-update-0331) ✗ gstOn branch 6ml-update-0331Changes to be committed:(use "git reset HEAD <file>..." to unstage)modified: src/index.tsx➜ kr-store git:(6ml-update-0331) ✗ gcmsg 'stash'[6ml-update-0331 d9d4158] stash1 file changed, 1 insertion(+), 1 deletion(-)➜ kr-store git:(6ml-update-0331) gco6ml-origin-version 6ml-update-0329-02 FETCH_HEAD master origin/6ml-update-0329 origin/HEAD6ml-update-0324 6ml-update-0330 HEAD origin/6ml-origin-version origin/6ml-update-0329-02 origin/master6ml-update-0329 6ml-update-0331 ORIG_HEAD origin/6ml-update-0324 origin/6ml-update-0330d9d4158 -- [HEAD] stash (10 seconds ago)90dd018 -- [HEAD^] orders (33 minutes ago)69bb71b -- [HEAD^^] order detail (13 hours ago)66b7b78 -- [HEAD~3] implement Image loader (15 hours ago)efd4f1c -- [HEAD~4] address page (22 hours ago)084758a -- [HEAD~5] Address page (27 hours ago)ce84fc1 -- [HEAD~6] user info (2 days ago)62b4394 -- [HEAD~7] orders page (2 days ago)eb7eae3 -- [HEAD~8] add project snippets (2 days ago)d300ec5 -- [HEAD~9] use font icon (2 days ago)88dbf02 -- [HEAD~10] Merge branch 'master' of github.com:xreception/ecnova-store-mobile (2 days ago)93c942a -- [93c942a] Merge pull request #3 from xreception/6ml-update-0329-02 (2 days ago)c33de42 -- [HEAD~11] merge master (2 days ago)fc6a044 -- [fc6a044] update (2 days ago)6e34422 -- [HEAD~12] cart item (2 days ago)969a7e7 -- [969a7e7] update (2 days ago)65b8e23 -- [65b8e23] little update (2 days ago)e6c1a14 -- [e6c1a14] styles revise (2 days ago)06dc654 -- [06dc654] Merge pull request #2 from xreception/6ml-update-0329 (2 days ago)239391d -- [239391d] delete TODO comments (2 days ago)➜ kr-store git:(6ml-update-0331) gco 6ml-update-0330Switched to branch '6ml-update-0330'Your branch is up to date with 'origin/6ml-update-0330'.➜ kr-store git:(6ml-update-0330)➜ kr-store git:(6ml-update-0330)➜ kr-store git:(6ml-update-0330) glog➜ kr-store git:(6ml-update-0330) git reset 90dd018Unstaged changes after reset:M package-lock.jsonM src/components/Button/button.cssM src/components/Button/button.css.d.tsM src/components/Button/button.tsxM src/components/list/list.cssM src/components/list/list.css.d.tsM src/components/list/list.tsxM src/index.tsx➜ kr-store git:(6ml-update-0330) ✗ glog➜ kr-store git:(6ml-update-0330) ✗ gstOn branch 6ml-update-0330Your branch is behind 'origin/6ml-update-0330' by 8 commits, and can be fast-forwarded.(use "git pull" to update your local branch)Changes not staged for commit:(use "git add <file>..." to update what will be committed)(use "git checkout -- <file>..." to discard changes in working directory)modified: package-lock.jsonmodified: src/components/Button/button.cssmodified: src/components/Button/button.css.d.tsmodified: src/components/Button/button.tsxmodified: src/components/list/list.cssmodified: src/components/list/list.css.d.tsmodified: src/components/list/list.tsxmodified: src/index.tsxUntracked files:(use "git add <file>..." to include in what will be committed)src/screens/mobile-binding/src/screens/mobile-edit/no changes added to commit (use "git add" and/or "git commit -a")➜ kr-store git:(6ml-update-0330) ✗➜ kr-store git:(6ml-update-0330) ✗➜ kr-store git:(6ml-update-0330) ✗➜ kr-store git:(6ml-update-0330) ✗ gstOn branch 6ml-update-0330Your branch and 'origin/6ml-update-0330' have diverged,and have 1 and 8 different commits each, respectively.(use "git pull" to merge the remote branch into yours)Changes not staged for commit:(use "git add <file>..." to update what will be committed)(use "git checkout -- <file>..." to discard changes in working directory)modified: package-lock.jsonmodified: src/components/list/list.cssmodified: src/components/list/list.css.d.tsmodified: src/components/list/list.tsxmodified: src/index.tsxUntracked files:(use "git add <file>..." to include in what will be committed)src/screens/mobile-binding/src/screens/mobile-edit/no changes added to commit (use "git add" and/or "git commit -a")➜ kr-store git:(6ml-update-0330) ✗ ga .➜ kr-store git:(6ml-update-0330) ✗ gstOn branch 6ml-update-0330Your branch and 'origin/6ml-update-0330' have diverged,and have 1 and 8 different commits each, respectively.(use "git pull" to merge the remote branch into yours)Changes to be committed:(use "git reset HEAD <file>..." to unstage)modified: package-lock.jsonmodified: src/components/list/list.cssmodified: src/components/list/list.css.d.tsmodified: src/components/list/list.tsxmodified: src/index.tsxnew file: src/screens/mobile-binding/defs.tsnew file: src/screens/mobile-binding/form.tsxnew file: src/screens/mobile-binding/index.tsnew file: src/screens/mobile-binding/mobile-binding.cssnew file: src/screens/mobile-binding/mobile-binding.css.d.tsnew file: src/screens/mobile-binding/mobile-binding.tsxnew file: src/screens/mobile-edit/defs.tsnew file: src/screens/mobile-edit/form.tsxnew file: src/screens/mobile-edit/index.tsnew file: src/screens/mobile-edit/mobile-edit.cssnew file: src/screens/mobile-edit/mobile-edit.css.d.tsnew file: src/screens/mobile-edit/mobile-edit.tsx➜ kr-store git:(6ml-update-0330) ✗ gcmsg 'UserInfo page and mobile binding'[6ml-update-0330 06f1490] UserInfo page and mobile binding17 files changed, 875 insertions(+), 543 deletions(-)create mode 100644 src/screens/mobile-binding/defs.tscreate mode 100644 src/screens/mobile-binding/form.tsxcreate mode 100644 src/screens/mobile-binding/index.tscreate mode 100644 src/screens/mobile-binding/mobile-binding.csscreate mode 100644 src/screens/mobile-binding/mobile-binding.css.d.tscreate mode 100644 src/screens/mobile-binding/mobile-binding.tsxcreate mode 100644 src/screens/mobile-edit/defs.tscreate mode 100644 src/screens/mobile-edit/form.tsxcreate mode 100644 src/screens/mobile-edit/index.tscreate mode 100644 src/screens/mobile-edit/mobile-edit.csscreate mode 100644 src/screens/mobile-edit/mobile-edit.css.d.tscreate mode 100644 src/screens/mobile-edit/mobile-edit.tsx➜ kr-store git:(6ml-update-0330) git push origin 6ml-update-0330^C➜ kr-store git:(6ml-update-0330) git push -f origin 6ml-update-0330Counting objects: 33, done.Delta compression using up to 4 threads.Compressing objects: 100% (31/31), done.Writing objects: 100% (33/33), 11.58 KiB | 697.00 KiB/s, done.Total 33 (delta 17), reused 0 (delta 0)remote: Resolving deltas: 100% (17/17), completed with 12 local objects.To github.com:xreception/ecnova-store-mobile.git+ 7c3f39f...06f1490 6ml-update-0330 -> 6ml-update-0330 (forced update)➜ kr-store git:(6ml-update-0330)➜ kr-store git:(6ml-update-0330)➜ kr-store git:(6ml-update-0330)➜ kr-store git:(6ml-update-0330) gco masterSwitched to branch 'master'Your branch is up to date with 'origin/master'.➜ kr-store git:(master) glAlready up to date.➜ kr-store git:(master) git cherry-pick cb13620cfd83de5bbdd03dfb3fb52ef6dc58a04a[master 1470ffc] add rect button styleDate: Sat Mar 31 14:42:17 2018 +08003 files changed, 20 insertions(+), 4 deletions(-)➜ kr-store git:(master) glog➜ kr-store git:(master)➜ kr-store git:(master)➜ kr-store git:(master)➜ kr-store git:(master) gco 6ml-update-0331Switched to branch '6ml-update-0331'➜ kr-store git:(6ml-update-0331) glg➜ kr-store git:(6ml-update-0331) git rebse mastergit: 'rebse' is not a git command. See 'git --help'.The most similar command isrebase➜ kr-store git:(6ml-update-0331) git rebase masterFirst, rewinding head to replay your work on top of it...Applying: stash➜ kr-store git:(6ml-update-0331) glg➜ kr-store git:(6ml-update-0331) glog➜ kr-store git:(6ml-update-0331) git reset HEAD^1Unstaged changes after reset:M src/index.tsx➜ kr-store git:(6ml-update-0331) ✗ glog➜ kr-store git:(6ml-update-0331) ✗ gstOn branch 6ml-update-0331Changes not staged for commit:(use "git add <file>..." to update what will be committed)(use "git checkout -- <file>..." to discard changes in working directory)modified: src/index.tsxno changes added to commit (use "git add" and/or "git commit -a")➜ kr-store git:(6ml-update-0331) ✗