Skip to content

pwildenhain/git-custom-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

git-custom-commands

Commands

git done

๐Ÿ”จ Workflow: Working on a local branch, pushing to GitHub, and merging the PR. We want the updates to our main branch, and want to remove the clutter of the old local branch where we did all the work.

๐Ÿ“ Steps:

  1. Note the current branch
  2. Note the main branch
  3. Checkout the main branch
  4. Pull any updates
  5. Hard delete the previous branch

git append

๐Ÿ”จ Workflow: We thought we had finished the work and pushed it to GitHub. But then we discover a typo, bug, etc and want to fix it, include it in the last commit and then force push the updates to GitHub.

๐Ÿ“ Steps:

  1. Add the most recent changes into the last commit cleanly
  2. Force push to GitHub (origin)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages