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
$ git log | |
commit 6eb298f9c5858291ac817dca4238957b628e7200 | |
Author: Anita Kuno <[email protected]> | |
Date: Tue Feb 26 09:37:09 2013 -0500 | |
Adding my third file. I am adding it to the master branch. This will be my s | |
commit d561f82d45e267593220296ac3e956e47a98717f | |
Author: Anita Kuno <[email protected]> | |
Date: Tue Feb 26 08:26:37 2013 -0500 |
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
$ cat .git/refs/heads/master | |
6eb298f9c5858291ac817dca4238957b628e7200 | |
$ cat .git/refs/heads/feature | |
edc4bc271061087657dbeb4e56970da8c84f4ac6 | |
$ cat .git/logs/HEAD | |
0000000000000000000000000000000000000000 d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361885197 -0500 commit (initial): adding my first file | |
d561f82d45e267593220296ac3e956e47a98717f d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361886063 -0500 checkout: moving from master to feature | |
d561f82d45e267593220296ac3e956e47a98717f edc4bc271061087657dbeb4e56970da8c84f4ac6 Anita Kuno <[email protected]> 1361888950 -0500 commit: this is my second commit, made to the topic branch named feature | |
edc4bc271061087657dbeb4e56970da8c84f4ac6 d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361889352 -0500 checkout: moving from feature to master | |
d561f82d45e267593220296ac3e956e47a98717f 6eb298f9c5858291ac817dca4238957b628e7200 Anita Kuno <[email protected]> 1361889429 -0500 commit: Adding my th |
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
$ git commit -m 'Adding my third file. I am adding it to the master branch. This will be my second commit to the master branch.' | |
[master 6eb298f] Adding my third file. I am adding it to the master branch. This will be my second commit to the master branch. | |
1 file changed, 1 insertion(+) | |
create mode 100644 third_file.txt | |
$ tree .git | |
.git | |
├── branches | |
├── COMMIT_EDITMSG | |
├── config | |
├── HEAD |
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
$ vi third_file.txt | |
$ git add . |
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
$ git checkout master | |
Switched to branch 'master' |
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
$ git log | |
commit edc4bc271061087657dbeb4e56970da8c84f4ac6 | |
Author: Anita Kuno <[email protected]> | |
Date: Tue Feb 26 09:29:10 2013 -0500 | |
this is my second commit, made to the topic branch named feature | |
commit d561f82d45e267593220296ac3e956e47a98717f | |
Author: Anita Kuno <[email protected]> | |
Date: Tue Feb 26 08:26:37 2013 -0500 |
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
$ cat .git/refs/heads/master | |
d561f82d45e267593220296ac3e956e47a98717f | |
$ cat .git/refs/heads/feature | |
edc4bc271061087657dbeb4e56970da8c84f4ac6 | |
$ cat .git/logs/HEAD | |
0000000000000000000000000000000000000000 d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361885197 -0500 commit (initial): adding my first file | |
d561f82d45e267593220296ac3e956e47a98717f d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361886063 -0500 checkout: moving from master to feature | |
d561f82d45e267593220296ac3e956e47a98717f edc4bc271061087657dbeb4e56970da8c84f4ac6 Anita Kuno <[email protected]> 1361888950 -0500 commit: this is my second commit, made to the topic branch named feature | |
$ cat .git/logs/refs/heads/master | |
0000000000000000000000000000000000000000 d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361885197 -0500 commit (initial): adding my first file |
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
$ git commit -m 'this is my second commit, made to the topic branch named feature' | |
[feature edc4bc2] this is my second commit, made to the topic branch named feature | |
1 file changed, 1 insertion(+) | |
create mode 100644 second_file.txt | |
$ tree .git | |
.git | |
├── branches | |
├── COMMIT_EDITMSG | |
├── config | |
├── HEAD |
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
$ cat .git/refs/heads/master | |
d561f82d45e267593220296ac3e956e47a98717f | |
$ cat .git/refs/heads/feature | |
d561f82d45e267593220296ac3e956e47a98717f | |
$ cat .git/logs/HEAD | |
0000000000000000000000000000000000000000 d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361885197 -0500 commit (initial): adding my first file | |
d561f82d45e267593220296ac3e956e47a98717f d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361886063 -0500 checkout: moving from master to feature | |
$ cat .git/logs/refs/heads/master | |
0000000000000000000000000000000000000000 d561f82d45e267593220296ac3e956e47a98717f Anita Kuno <[email protected]> 1361885197 -0500 commit (initial): adding my first file | |
$ cat .git/logs/refs/heads/feature |
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
$ git add second_file.txt | |
$ tree .git | |
.git | |
├── branches | |
├── COMMIT_EDITMSG | |
├── config | |
├── HEAD | |
├── index | |
├── logs | |
│ ├── HEAD |