Git Cheat Sheet

From chriesibaum wiki
Revision as of 16:59, 11 February 2021 by PTH (talk | contribs)
Jump to navigation Jump to search

Local GIT Repos


Github

Signing commits using GPG

tweaks

how to change commit message

GitHub's instructions for doing this:

  1. On the command line, navigate to the repository that contains the commit you want to amend.
  2. Type git commit --amend and press Enter.
  3. In your text editor, edit the commit message and save the commit.
  4. Use the git push --force example-branch command to force push over the old commit.