commit configurable

Simon H. avatarSimon H. created an issue

Could commit be made configurable. I would like to only push and pull.

Comments (3)

  1. Oben Sonne

    What about merges? In case a pull requires a merge with local changes, would you prefer to do that manually or let the fetch command handle it (like it is now).

  2. Ibraheem Zaman

    This request seems to be about adding an option for synchronizing only the repository without reference to the working directory. At the most basic level this should involve only push and pull, while leaving the working directory in it's initial state. If the push would cause a new remote head to be created, then it would fail until this can be resolved manually.

    In issue #6 I requested some more granular options, such as an option for pull only, and the inclusion of the update and rebase flags from the pull command. Of course these operations will abort in the case of uncommitted/conflicting changes, just as in the pull command.

    I wouldn't want to automate fetch in this case because that would clutter up the repository with unneeded branching and merging. The "unloved" state of the fetch extension (and the lack of a "merge" flag in the pull command to match the rebase flag) seems to indicate that most people prefer to merge and commit manually. However, fetch can also be included in this feature if desired, by only changing the current behavior to fail in the case of uncommitted changes instead of automatically committing them.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.