Created
February 15, 2011 20:48
-
-
Save wpalmer/828211 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
[shruggar@walleee t]$ git init | |
Initialized empty Git repository in /home/shruggar/git/t/.git/ | |
[shruggar@walleee t]$ mkdir -p foo/bar/baz | |
[shruggar@walleee t]$ cd foo/bar | |
[shruggar@walleee bar]$ ls | |
baz | |
[shruggar@walleee bar]$ touch baz/A | |
[shruggar@walleee bar]$ touch baz/B | |
[shruggar@walleee bar]$ git add baz/* | |
[shruggar@walleee bar]$ git commit -m A | |
[master (root-commit) 12e69ca] A | |
0 files changed, 0 insertions(+), 0 deletions(-) | |
create mode 100644 foo/bar/baz/A | |
create mode 100644 foo/bar/baz/B | |
[shruggar@walleee bar]$ git rm baz/A | |
rm 'foo/bar/baz/A' | |
[shruggar@walleee bar]$ git commit ../ | |
[master 8c267b6] foo? | |
0 files changed, 0 insertions(+), 0 deletions(-) | |
delete mode 100644 foo/bar/baz/A | |
[shruggar@walleee bar]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment