From 33c8ebbff7b17245ceeefb654a2a2d3c37d2f75e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 3 Jul 2015 14:10:00 -0400 Subject: [PATCH] commit example --- doc/git-annex-proxy.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/git-annex-proxy.mdwn b/doc/git-annex-proxy.mdwn index 23621ea068..570789cf7f 100644 --- a/doc/git-annex-proxy.mdwn +++ b/doc/git-annex-proxy.mdwn @@ -25,6 +25,12 @@ To rename a directory: git annex proxy -- git mv mydir newname +To commit the changes to a specific file, first use git annex add to +stage the changes in the index, and then proxy a commit: + + git annex add myfile + git annex proxy -- git commit myfile -m foo + # SEE ALSO [[git-annex]](1)