đź’ľ
Cheat Sheet
search
Ctrlk
  • Cheat Sheet
  • Gitchevron-right
    • Initialize a new project
    • Make a new commit
    • Revert the most recent commit
    • Create a new branch
    • Setup terminal prompt to show the current git branch
    • Merge a branch into the current branch
    • Push a new branch up to GitHub (if it doesn’t exist there yet)
    • Pull a new branch from to GitHub to a second computer (if it doesn’t exist there yet)
    • Go back to an older commit and re-work from there
    • Delete a git branch
  • Railschevron-right
  • Miscchevron-right
  • Statamic
  • Forge / Statamicchevron-right
  • Old (not using anymore)chevron-right
  • Cursorchevron-right
  • Mac Environmentchevron-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down

Git

Initialize a new projectchevron-rightMake a new commitchevron-rightRevert the most recent commitchevron-rightCreate a new branchchevron-rightSetup terminal prompt to show the current git branchchevron-rightMerge a branch into the current branchchevron-rightPush a new branch up to GitHub (if it doesn’t exist there yet)chevron-rightPull a new branch from to GitHub to a second computer (if it doesn’t exist there yet)chevron-rightGo back to an older commit and re-work from therechevron-rightDelete a git branchchevron-right
PreviousCheat Sheetchevron-leftNextInitialize a new projectchevron-right