Author: Randall Koutnik <[email protected]>
Date: Tue Jun 14 15:05:51 2016 -0700
Fix error on alert page
A Good Commit Message
Author: Igor Zhukov <[email protected]>
Date: Thu Jun 30 00:46:43 2016 +0300
fix(copy): fix handling of typed subarrays
Previously, it would return a copy of the whole original typed array, not its slice.
Now, the `byteOffset` and `length` are also preserved.
Use small feature branches
Keep feature branches up-to-date
Never rewrite history on a pushed branch
Allows you to mess with history in various exciting ways
Two main scenarios:
Bringing in new commits from master into your feature branch
Squashing multiple commits into a single commit
What's the big deal with history?
"Those without write access to history are doomed if they rebase it"
Rewriting history that's already on the remote breaks other dev's repos
Rewriting history that's only local is 'fine'
Displays a list of all of the commits on the current branch
To the CLI!
Lists all the commits you've looked at
Saves the day when a commit has been overridden and is no longer in regular history.
Updates the branch and/or code to another commit
Useful when you want to remove an accidental commit or when you realize you've been digging in the wrong rabbit hole
Takes a commit that exists somewhere locally and adds it to the current branch.
Great for pulling in a single commit from another branch without needing to do a full merge/rebase. Also nice for pulling things from reflog
git cherry-pick abc123
To the CLI!
Stores your current work without making a commit
Nice to have when you need to switch to another branch for some reason.