Skip to content

Instantly share code, notes, and snippets.

@willingc
Last active May 20, 2022 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willingc/41b31b142bc1e75be0ac3684abd65d92 to your computer and use it in GitHub Desktop.
Save willingc/41b31b142bc1e75be0ac3684abd65d92 to your computer and use it in GitHub Desktop.
Git Resources

Git Resources

General

Helpful Commands used frequently

git status

git log

git remote -v

git fetch

Carol prefers

git rebase

Carol prefers

git merge

Many use, Carol rarely uses

git pull

Many use, Carol rarely uses

git push

git diff

git stash

Helpful Commands used less frequently

git rebase -i

git cherry-pick

git bisect

Useful to identify the commit where an error was introduced when you have a long history. It basically takes history and keeps dividing it into error / no-error. Narrowing the possibilities each time.

Advanced

Carol's Opinionated Open Source Workflow

Designed to reduce merge conflicts

https://speakerdeck.com/willingc/yes-you-can-git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment