diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2012-10-25 03:29:20 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-10-25 03:29:20 +0000 |
commit | 6ea651b4455f78461f3f2740e26e3936c8d43a92 (patch) | |
tree | 6111d97e27ac315545b2d32afb008435c1c7eaf4 | |
parent | 5c84739e291369ad5f489fb3120658af93ae4a42 (diff) |
Added a comment: it's a git repository...
-rw-r--r-- | doc/forum/recover_deleted_files___63__/comment_2_8ea2acaa30d3ee7e9f75310f4ec859b2._comment | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/forum/recover_deleted_files___63__/comment_2_8ea2acaa30d3ee7e9f75310f4ec859b2._comment b/doc/forum/recover_deleted_files___63__/comment_2_8ea2acaa30d3ee7e9f75310f4ec859b2._comment new file mode 100644 index 000000000..c99461ae0 --- /dev/null +++ b/doc/forum/recover_deleted_files___63__/comment_2_8ea2acaa30d3ee7e9f75310f4ec859b2._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.152.108.138" + subject="it's a git repository..." + date="2012-10-25T03:29:20Z" + content=""" +So any git stuff can be used. If you deleted a file, committed it, and want to undo that, you can `git log --stat` to find the commit, and `git revert` it. If you deleted a file, haven't committed yet, and want one more look at it, you can `git stash` to get it back, and `git stash apply` to re-stash the change. Or yeah, just `git checkout` to get back a deleted file you have not committed yet. +"""]] |