git squash all commits into one and merge back into master with rebase and merge –ff-only

This is my workflow. Work in a remote branch:git checkout -b topsecretbranch Make lots of small iterative changes, committing each one with vague messages like “small changes”, “typos” and “lol”. At some point this code will be ready… Read More

Committing to git as a different user

I have two accounts on git, one for work, and one for personal use. On my work laptop, I push all my commits to origin on my work account. But as part of learning Scala for work, I… Read More