6 ms·
How do you construct a commit, in order to commit regularly, without having a staging environment in which to compose that commit? Is the branch-tip simply the
by ISL 4y ago
How do you construct a commit, in order to commit regularly, without having a staging environment in which to compose that commit?
Is the branch-tip simply the staging area? What if you're only half-done with that final commit?
- mitrandir77 4y agoYou `sl commit` that half-done work anyway and then iterate by running `sl amend` many times until your commit is finished. In case you want to amend just part of changes us `sl amend -i` https://sapling-scm.com/docs/commands/amend https://sapling-scm.com/docs/commands/amend
- tome 4y ago> How do you construct a commit, in order to commit regularly, without having a staging environment in which to compose that commit? In git, with `git commit --patch`