You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've walked through the exercises today, and I'd like to give my € 0.02 about the tips and solutions:
On pick-your-features I'd have opted for git merge --squash rather than git cherry-pick - Introducing cherry-pick to the newly-initiated might be a bad idea.
For find-swearwords I'd suggest
git log -G '\bshit\b' --all-match
# jot down the revisions
git rebase -
# Search for the revisions, mark them as 'edit'# Repeat for all revisions:# Replace the bad word with good word (e.g. sed -i -e 's/^bad$/good/g words.txt)
git add *.txt
git commit --amend
git rebase --continue
For find-bug I'd point users to writing a dedicated shell script rather than doing it inline - quoting issues can make things annoying very quickly.
Thanks again for the fun challenge :-)
The text was updated successfully, but these errors were encountered:
Hi,
great job with this project!
I've walked through the exercises today, and I'd like to give my € 0.02 about the tips and solutions:
git merge --squash
rather thangit cherry-pick
- Introducing cherry-pick to the newly-initiated might be a bad idea.Thanks again for the fun challenge :-)
The text was updated successfully, but these errors were encountered: