getsolus / getsolus/help-center-docs
Additions to git tips & tricks - splitting a commit during rebase -i
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 59
- Forks
- 93
- Avg merge
- 7h 38m
- Merged PRs (30d)
- 11
Description
git rebase -i origin/HEAD --autostash
find the needed commit and change pick to e (short for edit)
save and exit
Then git reset HEAD~
If you run git status you can see the changes are unstaged
Then gotopkg sckit-image and git add and git commit as normal, then do the same for the second split
Tthen git rebase --continue and git push --force-with-lease
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the existing Git tips and tricks page in the help-center documentation, since this issue does not name a file. Compare the proposed interactive-rebase, reset, split-commit, continue, and push steps with the page, then add the procedure and verify the rendered documentation and command wording.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100