summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmWBvsZvSsAL8P2ye3F0OBStjFCVnOImzM <Jarno@web>2014-11-27 22:40:17 +0000
committerGravatar admin <admin@branchable.com>2014-11-27 22:40:17 +0000
commit446f4f8e4f3fc7476135b8c37b2ad026384c48b5 (patch)
treebcd04898d1e58da0f4bf48ff5b8aa6fadfa76f7a /doc
parent960f5b3c6721ac584b6e24c9e86109430d88dce3 (diff)
Added a comment: How about with the 'proxy' command?
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Revert_to_a_precedent_state_in_direct_mode/comment_2_43588bf457502510b11f2dd3fba1f30b._comment13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/forum/Revert_to_a_precedent_state_in_direct_mode/comment_2_43588bf457502510b11f2dd3fba1f30b._comment b/doc/forum/Revert_to_a_precedent_state_in_direct_mode/comment_2_43588bf457502510b11f2dd3fba1f30b._comment
new file mode 100644
index 000000000..4db612d6b
--- /dev/null
+++ b/doc/forum/Revert_to_a_precedent_state_in_direct_mode/comment_2_43588bf457502510b11f2dd3fba1f30b._comment
@@ -0,0 +1,13 @@
+[[!comment format=mdwn
+ username="https://www.google.com/accounts/o8/id?id=AItOawmWBvsZvSsAL8P2ye3F0OBStjFCVnOImzM"
+ nickname="Jarno"
+ subject="How about with the 'proxy' command?"
+ date="2014-11-27T22:40:17Z"
+ content="""
+With the proxy command, would the following be an appropriate way to discard all changes (mods, adds, dels) since last sync in a direct mode repo?
+
+ git annex proxy -- git clean -df
+ git annex proxy -- git checkout -f .
+
+Also, is it necessary to run annex sync or other direct mode housekeeping commands afterwards?
+"""]]