diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-03 14:10:00 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-03 14:10:00 -0400 |
commit | 32ee77d86ec07d2e34c9ab47d04d666b2a0311fa (patch) | |
tree | c63687083ffa1daa15a3299411e329a3243a7d79 | |
parent | 3115bdd5645a08be6eb6edd39072a31c4af818f2 (diff) |
commit example
-rw-r--r-- | doc/git-annex-proxy.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/git-annex-proxy.mdwn b/doc/git-annex-proxy.mdwn index 23621ea06..570789cf7 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) |