Skip to content

Instantly share code, notes, and snippets.

@robins35
Created January 30, 2015 17:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save robins35/6d1913771e6ad21f5664 to your computer and use it in GitHub Desktop.
JOHHHNYYYYs-MacBook-Pro:blah JOHNNY$ git checkout -b fix_9-add-10freesites-withcoupon
M dump.rdb
Switched to a new branch 'fix_9-add-10freesites-withcoupon'
JOHHHNYYYYs-MacBook-Pro:blah JOHNNY$ rm dump.rdb
JOHHHNYYYYs-MacBook-Pro:blah JOHNNY$ git status
On branch fix_9-add-10freesites-withcoupon
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: dump.rdb
no changes added to commit (use "git add" and/or "git commit -a")
JOHHHNYYYYs-MacBook-Pro:blah JOHNNY$ git clean
fatal: clean.requireForce defaults to true and neither -i, -n, nor -f given; refusing to clean
JOHHHNYYYYs-MacBook-Pro:blah JOHNNY$ git status
On branch fix_9-add-10freesites-withcoupon
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: dump.rdb
no changes added to commit (use "git add" and/or "git commit -a")
JOHHHNYYYYs-MacBook-Pro:blah JOHNNY$ git rm dump.rdb
rm 'dump.rdb'
JOHHHNYYYYs-MacBook-Pro:blah JOHNNY$ git status
On branch fix_9-add-10freesites-withcoupon
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
deleted: dump.rdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment