aboutsummaryrefslogtreecommitdiff
path: root/doc/direct_mode/comment_19_cdf3062fb82078ad5677b82dc5933560._comment
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-05-28 11:54:45 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-05-28 11:54:45 -0400
commit219725b5ff610ce9fefd584c1b1b5e8086fc203b (patch)
treed0429652c7c9b6037ec3420f80c5c9d47d841415 /doc/direct_mode/comment_19_cdf3062fb82078ad5677b82dc5933560._comment
parentd32c379d09f1648f27933cd33fd2a4b90f3efe44 (diff)
parent56d65a425c9461c88587d070cc732dc49a1d674f (diff)
Merge branch 'master' of ssh://git-annex.branchable.com5.20150528
Diffstat (limited to 'doc/direct_mode/comment_19_cdf3062fb82078ad5677b82dc5933560._comment')
-rw-r--r--doc/direct_mode/comment_19_cdf3062fb82078ad5677b82dc5933560._comment13
1 files changed, 0 insertions, 13 deletions
diff --git a/doc/direct_mode/comment_19_cdf3062fb82078ad5677b82dc5933560._comment b/doc/direct_mode/comment_19_cdf3062fb82078ad5677b82dc5933560._comment
deleted file mode 100644
index 1b82f87d1..000000000
--- a/doc/direct_mode/comment_19_cdf3062fb82078ad5677b82dc5933560._comment
+++ /dev/null
@@ -1,13 +0,0 @@
-[[!comment format=mdwn
- username="mitzip"
- subject="comment 19"
- date="2015-05-27T20:20:11Z"
- content="""
-Thanks for correcting that, and thanks for the git-revert suggestion!
-
-I have a question about the usage of git-revert for my purposes. I'm wanting to bring back a version of a file at a certain commit (not the whole commit) and I found this in the git docs...
-
->Note: git revert is used to record some new commits to reverse the effect of some earlier commits (often only a faulty one). If you want to throw away all uncommitted changes in your working directory, you should see git-reset[1], particularly the --hard option. If you want to extract specific files as they were in another commit, you should see git-checkout[1], specifically the git checkout <commit> -- <filename> syntax. Take care with these alternatives as both will discard uncommitted changes in your working directory.
-
-That being said, should I still use `git revert` instead of `git checkout` because `git revert` will take care of making the new commit for me?
-"""]]