diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2013-12-12 17:01:53 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-12-12 17:01:53 +0000 |
commit | bd670c7a867b7ea2535ac7c788e490bde4e577b7 (patch) | |
tree | edc0232f0cc0af0d00f571397cc3959ab3a791f6 /doc | |
parent | 5129c1963e034c706a79f0d82bba287e1e3a24a0 (diff) |
Added a comment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/is_there_a_way_to_only_commit_some_files_in_direct-mode___63__/comment_1_804e43111ee97dff15e49e50b6c29d91._comment | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/forum/is_there_a_way_to_only_commit_some_files_in_direct-mode___63__/comment_1_804e43111ee97dff15e49e50b6c29d91._comment b/doc/forum/is_there_a_way_to_only_commit_some_files_in_direct-mode___63__/comment_1_804e43111ee97dff15e49e50b6c29d91._comment new file mode 100644 index 000000000..9a7552614 --- /dev/null +++ b/doc/forum/is_there_a_way_to_only_commit_some_files_in_direct-mode___63__/comment_1_804e43111ee97dff15e49e50b6c29d91._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.87" + subject="comment 1" + date="2013-12-12T17:01:50Z" + content=""" +You can `git annex add` some files and leave others not added, and `git annex sync` will commit only the added ones. + +What is missing is a way to have changed some files that were added, and avoid `git annex sync` committing them. + +There is no technical reason this cannot be supported in direct mode, there is just no user interface built to do it. + +One way is to temporarily bypass the direct mode guard, by using the appropriate git command line option to set core.bare=false temporarily while committing files. Note that it's then up to you to avoid staging the entire content of the file into the index (so no `git commit -a` etc). +"""]] |