Notes from Pro Skills Series

Tentative Language

Avoid starting sentences with tentative language such as I think, I believe, I hope, and stay away from filler words like um, well, and so. It’s much more effective to state something as fact. It will make you sound more confident and send a message that you know what you’re talking about.

Active Listening

Do not stare expressionless when listening to someone speak. Instead, nod in agreement or show facial expressions as appropriate. Paraphrasing or asking a question related to what they just said shows that you were listening and care about what they have to say.

Going from This to That

When networking, the ability to steer the conversation from any topic to the message you want to get across is an important skill. For example, when talking about something as mundane as the traffic, you should try to move the conversation to your profession as naturally as possible. Saying something about being a software engineer and your preference for remote work because you don’t like driving during rush hour is an honest and casual way bring up your current job search.

 

Advertisements

Editing Commit Messages

Amend most recent commit message

$ git commit --amend

If you have already pushed the commit, you will need to force push (not best practice) the amended message.

$ git push --force example-branch-name

Amend older or multiple commit messages
To amend the message for multiple commits or an older commit, you can use interactive rebase. The following will display a list of the last three commit messages.

$ git rebase -i HEAD~3

The list will look something like this.

pick e499d89 Delete CNAME
pick 0c39034 Better README
pick f7fde4a Change the commit message but push the same commit.

# Rebase 9fdb3bd..f7fde4a onto 9fdb3bd
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
#
# However, if you remove everything, the rebase will be aborted.
#
# Note that empty commits are commented out

Replace pick with reword before each commit message you want to change.

pick e499d89 Delete CNAME
reword 0c39034 Better README
reword f7fde4a Change the commit message but push the same commit.

Again, if you have already pushed the commit(s), you will need to force push (not best practice) the amended message(s).

$ git push --force example-branch-name