Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all * c8e5f6c - (3 weeks ago) add weight amount to any buying item - Dmitri Plomipu (HEAD -> master, origin/master) * 99ef42f - (4 weeks ago) Revert "Translated in Estonian" - Dmitri Plomipu * ca2eb5c - (4 weeks ago) Revert "remove only non-vegan food from list" - Dmitri Plomipu * 81b0a52 - (4 weeks ago) Revert "add price per any listed product" - Dmitri Plomipu * bdc003e - (4 weeks ago) Revert "fixed ordered numbering in the list" - Dmitri Plomipu * f38c26a - (4 weeks ago) Revert "rename build.txt to pricelist.txt" - Dmitri Plomipu * e9b1535 - (4 weeks ago) Revert "change encoding to UTF-8" - Dmitri Plomipu * 9e84c11 - (4 weeks ago) change encoding to UTF-8 - Dmitri Plomipu * ee7ec0a - (4 weeks ago) rename build.txt to pricelist.txt - Dmitri Plomipu * 4177e52 - (4 weeks ago) fixed ordered numbering in the list - Dmitri Plomipu * 2a5a824 - (4 weeks ago) add price per any listed product - Dmitri Plomipu * bbc5a6b - (4 weeks ago) remove only non-vegan food from list - Dmitri Plomipu * 631e389 - (4 weeks ago) Translated in Estonian - Dmitri Plomipu * 28dc3d5 - (5 weeks ago) add last items - Dmitri Plomipu * b7bfbaf - (5 weeks ago) add three vegetable items - Dmitri Plomipu * e882dc9 - (5 weeks ago) add three yet items - Dmitri Plomipu * e6cb2a7 - (5 weeks ago) add three list items - Dmitri Plomipu * 652ee9f - (6 weeks ago) Create README.md - Dmitri Plomipu Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all * c8e5f6c - Thu, 31 Oct 2019 19:56:22 +0300 (3 weeks ago) (HEAD -> master, origin/master) | add weight amount to any buying item - Dmitri Plomipu * 99ef42f - Tue, 22 Oct 2019 14:07:55 +0300 (4 weeks ago) | Revert "Translated in Estonian" - Dmitri Plomipu * ca2eb5c - Tue, 22 Oct 2019 14:07:52 +0300 (4 weeks ago) | Revert "remove only non-vegan food from list" - Dmitri Plomipu * 81b0a52 - Tue, 22 Oct 2019 14:07:49 +0300 (4 weeks ago) | Revert "add price per any listed product" - Dmitri Plomipu * bdc003e - Tue, 22 Oct 2019 14:07:45 +0300 (4 weeks ago) | Revert "fixed ordered numbering in the list" - Dmitri Plomipu * f38c26a - Tue, 22 Oct 2019 14:07:25 +0300 (4 weeks ago) | Revert "rename build.txt to pricelist.txt" - Dmitri Plomipu * e9b1535 - Tue, 22 Oct 2019 14:04:36 +0300 (4 weeks ago) | Revert "change encoding to UTF-8" - Dmitri Plomipu * 9e84c11 - Mon, 21 Oct 2019 03:18:13 +0300 (4 weeks ago) | change encoding to UTF-8 - Dmitri Plomipu * ee7ec0a - Mon, 21 Oct 2019 03:15:27 +0300 (4 weeks ago) | rename build.txt to pricelist.txt - Dmitri Plomipu * 4177e52 - Mon, 21 Oct 2019 03:08:00 +0300 (4 weeks ago) | fixed ordered numbering in the list - Dmitri Plomipu * 2a5a824 - Mon, 21 Oct 2019 03:04:38 +0300 (4 weeks ago) | add price per any listed product - Dmitri Plomipu * bbc5a6b - Mon, 21 Oct 2019 02:55:32 +0300 (4 weeks ago) | remove only non-vegan food from list - Dmitri Plomipu * 631e389 - Mon, 21 Oct 2019 02:52:06 +0300 (4 weeks ago) | Translated in Estonian - Dmitri Plomipu * 28dc3d5 - Wed, 16 Oct 2019 06:47:52 +0300 (5 weeks ago) | add last items - Dmitri Plomipu * b7bfbaf - Wed, 16 Oct 2019 06:44:07 +0300 (5 weeks ago) | add three vegetable items - Dmitri Plomipu * e882dc9 - Wed, 16 Oct 2019 06:42:15 +0300 (5 weeks ago) | add three yet items - Dmitri Plomipu * e6cb2a7 - Tue, 15 Oct 2019 13:59:21 +0300 (5 weeks ago) | add three list items - Dmitri Plomipu * 652ee9f - Fri, 11 Oct 2019 17:23:33 +0300 (6 weeks ago) Create README.md - Dmitri Plomipu Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log --graph * commit c8e5f6c0160e9082a21461ad7b9b3a5f0fe6cfb1 (HEAD -> master, origin/master) | Author: Dmitri Plomipu | Date: Thu Oct 31 19:56:22 2019 +0300 | | add weight amount to any buying item | * commit 99ef42f6a1043ccc148ce006e83933e41d409663 | Author: Dmitri Plomipu | Date: Tue Oct 22 14:07:55 2019 +0300 | | Revert "Translated in Estonian" | | This reverts commit 631e389f577e23cd2c3011ef3e4e7fc2b061b172. | * commit ca2eb5c602ea08110ae6c4b908ff64fae7aa12bc | Author: Dmitri Plomipu | Date: Tue Oct 22 14:07:52 2019 +0300 | | Revert "remove only non-vegan food from list" | | This reverts commit bbc5a6bb3214c4185040b40235887d1ca9538e0b. | * commit 81b0a52c205c5efb7e6c57c3482a0873d23ab760 | Author: Dmitri Plomipu | Date: Tue Oct 22 14:07:49 2019 +0300 | | Revert "add price per any listed product" | | This reverts commit 2a5a82430783fc7976508922bf71ebd6d210f5f1. | * commit bdc003eb3aada86335219e0375e6cafd2ead1928 | Author: Dmitri Plomipu | Date: Tue Oct 22 14:07:45 2019 +0300 | | Revert "fixed ordered numbering in the list" | | This reverts commit 4177e526ad515ea788227c5995353ecfec88dd85. | * commit f38c26ac698098b85d8d112c330aab6a52a647f7 | Author: Dmitri Plomipu | Date: Tue Oct 22 14:07:25 2019 +0300 | | Revert "rename build.txt to pricelist.txt" | | This reverts commit ee7ec0a62e1217761abd465792783268fd44ee1d. | | back to reverting commits | * commit e9b15352beb1455525994a46348f19c43e3d0408 | Author: Dmitri Plomipu | Date: Tue Oct 22 14:04:36 2019 +0300 | | Revert "change encoding to UTF-8" | | This reverts commit 9e84c116d8afb2c59be02a16f5a01a0c4ca052c0. | | reverting Ok | * commit 9e84c116d8afb2c59be02a16f5a01a0c4ca052c0 | Author: Dmitri Plomipu | Date: Mon Oct 21 03:18:13 2019 +0300 | | change encoding to UTF-8 | * commit ee7ec0a62e1217761abd465792783268fd44ee1d | Author: Dmitri Plomipu | Date: Mon Oct 21 03:15:27 2019 +0300 | | rename build.txt to pricelist.txt | * commit 4177e526ad515ea788227c5995353ecfec88dd85 | Author: Dmitri Plomipu | Date: Mon Oct 21 03:08:00 2019 +0300 | | fixed ordered numbering in the list | * commit 2a5a82430783fc7976508922bf71ebd6d210f5f1 | Author: Dmitri Plomipu | Date: Mon Oct 21 03:04:38 2019 +0300 | | add price per any listed product | * commit bbc5a6bb3214c4185040b40235887d1ca9538e0b | Author: Dmitri Plomipu | Date: Mon Oct 21 02:55:32 2019 +0300 | | remove only non-vegan food from list | * commit 631e389f577e23cd2c3011ef3e4e7fc2b061b172 | Author: Dmitri Plomipu | Date: Mon Oct 21 02:52:06 2019 +0300 | | Translated in Estonian | * commit 28dc3d5d0bf2930f13b3b6ef24ccc3e2ff40b116 | Author: Dmitri Plomipu | Date: Wed Oct 16 06:47:52 2019 +0300 | | add last items | * commit b7bfbaf068446d56994efe7ffe16a137936783cb | Author: Dmitri Plomipu | Date: Wed Oct 16 06:44:07 2019 +0300 | | add three vegetable items | * commit e882dc979a402e076a2503ce0348987f4b58962d | Author: Dmitri Plomipu | Date: Wed Oct 16 06:42:15 2019 +0300 | | add three yet items | * commit e6cb2a7527e93a1b6c4e7ac13747fc0357a43c23 | Author: Dmitri Plomipu | Date: Tue Oct 15 13:59:21 2019 +0300 | | add three list items | * commit 652ee9ff1cd040e55a7f79c9735962aed1135025 Author: Dmitri Plomipu <39157693+DmitriEst200@users.noreply.github.com> Date: Fri Oct 11 17:23:33 2019 +0300 Create README.md Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log --graph --oneline * c8e5f6c (HEAD -> master, origin/master) add weight amount to any buying item * 99ef42f Revert "Translated in Estonian" * ca2eb5c Revert "remove only non-vegan food from list" * 81b0a52 Revert "add price per any listed product" * bdc003e Revert "fixed ordered numbering in the list" * f38c26a Revert "rename build.txt to pricelist.txt" * e9b1535 Revert "change encoding to UTF-8" * 9e84c11 change encoding to UTF-8 * ee7ec0a rename build.txt to pricelist.txt * 4177e52 fixed ordered numbering in the list * 2a5a824 add price per any listed product * bbc5a6b remove only non-vegan food from list * 631e389 Translated in Estonian * 28dc3d5 add last items * b7bfbaf add three vegetable items * e882dc9 add three yet items * e6cb2a7 add three list items * 652ee9f Create README.md Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log --graph --oneline -all fatal: unrecognized argument: -all Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log --graph --oneline --all * c8e5f6c (HEAD -> master, origin/master) add weight amount to any buying item * 99ef42f Revert "Translated in Estonian" * ca2eb5c Revert "remove only non-vegan food from list" * 81b0a52 Revert "add price per any listed product" * bdc003e Revert "fixed ordered numbering in the list" * f38c26a Revert "rename build.txt to pricelist.txt" * e9b1535 Revert "change encoding to UTF-8" * 9e84c11 change encoding to UTF-8 * ee7ec0a rename build.txt to pricelist.txt * 4177e52 fixed ordered numbering in the list * 2a5a824 add price per any listed product * bbc5a6b remove only non-vegan food from list * 631e389 Translated in Estonian * 28dc3d5 add last items * b7bfbaf add three vegetable items * e882dc9 add three yet items * e6cb2a7 add three list items * 652ee9f Create README.md Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout -b testbranch Switched to a new branch 'testbranch' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git status On branch testbranch Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) modified: Shopping list.txt no changes added to commit (use "git add" and/or "git commit -a") Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' M Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git add "Shopping list.txt" Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' M Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git add "Shopping list.txt" Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git add "Shopping list.txt" Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' M Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git rm --cache usage: git rm [] [--] ... -n, --dry-run dry run -q, --quiet do not list removed files --cached only remove from the index -f, --force override the up-to-date check -r allow recursive removal --ignore-unmatch exit with a zero status even if nothing matched Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git rm --cache "Shopping list.txt" rm 'Shopping list.txt' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' D Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git rm --cache "Shopping list.txt" fatal: pathspec 'Shopping list.txt' did not match any files Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git rm --cache "Shopping list.txt" fatal: pathspec 'Shopping list.txt' did not match any files Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git reset --soft Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git reset --hard HEAD is now at c8e5f6c add weight amount to any buying item Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log -1 commit c8e5f6c0160e9082a21461ad7b9b3a5f0fe6cfb1 (HEAD -> master, origin/master, testbranch) Author: Dmitri Plomipu Date: Thu Oct 31 19:56:22 2019 +0300 add weight amount to any buying item Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout FETCH_HEAD master origin/master HEAD ORIG_HEAD testbranch Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout FETCH_HEAD master origin/master HEAD ORIG_HEAD testbranch Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout FETCH_HEAD master origin/master HEAD ORIG_HEAD testbranch Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' M Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' M Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' M Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' M Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' M Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git status On branch master Your branch is up to date with 'origin/master'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) modified: Shopping list.txt no changes added to commit (use "git add" and/or "git commit -a") Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' M Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' M Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git add "Shopping list.txt" Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' M Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git status On branch testbranch Changes to be committed: (use "git reset HEAD ..." to unstage) modified: Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' M Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git status On branch master Your branch is up to date with 'origin/master'. Changes to be committed: (use "git reset HEAD ..." to unstage) modified: Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git add "Shopping list.txt" Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' M Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git status On branch testbranch Changes to be committed: (use "git reset HEAD ..." to unstage) modified: Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' M Shopping list.txt Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git rm --cache "Shopping list.txt" rm 'Shopping list.txt' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' D Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git status On branch testbranch Changes to be committed: (use "git reset HEAD ..." to unstage) deleted: Shopping list.txt Untracked files: (use "git add ..." to include in what will be committed) Shopping list.txt Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git add "Shopping list.txt" Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git commit -m "added cheese item" [testbranch 5c984c5] added cheese item 1 file changed, 3 insertions(+), 2 deletions(-) Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch error: Your local changes to the following files would be overwritten by checkout: Shopping list.txt Please commit your changes or stash them before you switch branches. Aborting Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git merge testbranch error: Your local changes to the following files would be overwritten by merge: Shopping list.txt Please commit your changes or stash them before you merge. Aborting Updating c8e5f6c..5c984c5 Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout -f testbranch Switched to branch 'testbranch' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git status On branch testbranch nothing to commit, working tree clean Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout -b draft Switched to a new branch 'draft' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (draft) $ git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git shrckout testbranch git: 'shrckout' is not a git command. See 'git --help'. The most similar command is checkout Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git Display all 59 possibilities? (y or n) Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log -1 commit c8e5f6c0160e9082a21461ad7b9b3a5f0fe6cfb1 (HEAD -> master, origin/master, draft) Author: Dmitri Plomipu Date: Thu Oct 31 19:56:22 2019 +0300 add weight amount to any buying item Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout draft HEAD ORIG_HEAD testbranch FETCH_HEAD master origin/master Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout draft HEAD ORIG_HEAD testbranch FETCH_HEAD master origin/master Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout draft HEAD ORIG_HEAD testbranch FETCH_HEAD master origin/master Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git log -1 testbranch commit 5c984c5f9c460ec016572c826b1cd6da88d127b9 (testbranch) Author: Dmitri Plomipu Date: Fri Nov 29 13:55:27 2019 +0300 added cheese item Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch Switched to branch 'testbranch' Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git status On branch testbranch nothing to commit, working tree clean Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (testbranch) $ git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $ git checkout testbranch error: Your local changes to the following files would be overwritten by checkout: Shopping list.txt Please commit your changes or stash them before you switch branches. Aborting Dmitri_dev@DESKTOP-K1U75JJ MINGW64 ~/Desktop/temp-git-test-drv (master) $