Created
June 19, 2017 19:06
-
-
Save terabyte/875c0a5089b906f378e25a0bcfae087d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12:04:36 ⮀ ὐB 100% cmyers@powerhouse ⮀ cd ~/projects | |
12:04:38 ⮀ ὐB 100% cmyers@powerhouse ⮀ mkdir __ | |
12:04:38 ⮀ ὐB 100% cmyers@powerhouse ⮀ cd __ | |
12:04:40 ⮀ ὐB 100% cmyers@powerhouse ⮀ git init | |
Initialized empty Git repository in /home/cmyers/projects/__/.git/ | |
12:04:46 ⮀ ὐB 100% cmyers@powerhouse ⮀ @master ⮀ echo "foo" > foo.txt | |
12:04:52 ⮀ ὐB 100% cmyers@powerhouse ⮀ @master ? ⮀ git add foo.txt | |
12:04:58 ⮀ ὐB 100% cmyers@powerhouse ⮀ @master ✚ ⮀ git commit -m"initial commit" | |
[master (root-commit) 8f389ce] initial commit | |
1 file changed, 1 insertion(+) | |
create mode 100644 foo.txt | |
12:05:03 ⮀ ὐB 100% cmyers@powerhouse ⮀ @master ⮀ git checkout -b move | |
Switched to a new branch 'move' | |
12:05:05 ⮀ ὐB 100% cmyers@powerhouse ⮀ @move ⮀ mkdir bar | |
12:05:10 ⮀ ὐB 100% cmyers@powerhouse ⮀ @move ⮀ git mv foo.txt bar | |
12:05:16 ⮀ ὐB 100% cmyers@powerhouse ⮀ @move ✚ ⮀ git commit -a -m"moving foo.txt" | |
[move e581ba1] moving foo.txt | |
1 file changed, 0 insertions(+), 0 deletions(-) | |
rename foo.txt => bar/foo.txt (100%) | |
12:05:31 ⮀ ὐB 100% cmyers@powerhouse ⮀ @move ⮀ echo "blah blah" >> bar/foo.txt | |
12:05:37 ⮀ ὐB 100% cmyers@powerhouse ⮀ @move ● ⮀ git commit -a -m"more change" | |
[move a03bd4d] more change | |
1 file changed, 1 insertion(+) | |
12:05:42 ⮀ ὐB 100% cmyers@powerhouse ⮀ @move ⮀ git hlog | |
* a03bd4d55c582f58309ba5b4b2b0390f6943d9ce Carl Myers Mon Jun 19 12:05:37 2017 -0700 (HEAD -> move)more change | |
* e581ba165317fdf38d4d7f76aafb02231c434751 Carl Myers Mon Jun 19 12:05:16 2017 -0700 moving foo.txt | |
* 8f389ce43f573db20e606e7ae81faaf692a6ec7b Carl Myers Mon Jun 19 12:04:58 2017 -0700 (master)initial commit | |
12:05:47 ⮀ ὐB 100% cmyers@powerhouse ⮀ @move ⮀ git checkout master | |
Switched to branch 'master' | |
12:05:54 ⮀ ὐB 100% cmyers@powerhouse ⮀ @master ⮀ git cherry-pick a03bd4d55c582f58309ba5b4b2b0390f6943d9ce | |
[master 1ff708f] more change | |
Date: Mon Jun 19 12:05:37 2017 -0700 | |
1 file changed, 1 insertion(+) | |
12:05:58 ⮀ ὐB 100% cmyers@powerhouse ⮀ @master ⮀ cat foo.txt | |
foo | |
blah blah | |
12:06:01 ⮀ ὐB 100% cmyers@powerhouse ⮀ @master ⮀ git alog | |
* 1ff708f0fc1c9a1e93fff80ef3ada26eac029438 Carl Myers Mon Jun 19 12:05:37 2017 -0700 (HEAD -> master)more change | |
| * a03bd4d55c582f58309ba5b4b2b0390f6943d9ce Carl Myers Mon Jun 19 12:05:37 2017 -0700 (move)more change | |
| * e581ba165317fdf38d4d7f76aafb02231c434751 Carl Myers Mon Jun 19 12:05:16 2017 -0700 moving foo.txt | |
|/ | |
* 8f389ce43f573db20e606e7ae81faaf692a6ec7b Carl Myers Mon Jun 19 12:04:58 2017 -0700 initial commit | |
12:06:02 ⮀ ὐB 100% cmyers@powerhouse ⮀ @master ⮀ ⮂ ✓ ⮂ 28310 ⮂ ~/projects/__ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment