Git Cheat Sheet: Difference between revisions

From chriesibaum wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


=Github=
=Github=
== Create pull requests ==
* https://opensource.com/article/19/7/create-pull-request-github
==Signing commits using GPG==
==Signing commits using GPG==
* https://gist.github.com/ankurk91/c4f0e23d76ef868b139f3c28bde057fc
* https://gist.github.com/ankurk91/c4f0e23d76ef868b139f3c28bde057fc


==tweaks==
==tweaks==

Revision as of 17:00, 11 February 2021

Local GIT Repos


Github

Create pull requests

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.