Skip to content

Instantly share code, notes, and snippets.

yoshi415 / git-recentco
Created Jan 15, 2021 — forked from fritz-c/git-recentco
Git: Check out a branch from a list of recently checked out branches/tags/commits
View git-recentco
#!/usr/bin/env bash
# Source:
# Original:
# Download this script as "git-recentco" (no extension), chmod it to be executable and put it in your
# path somewhere (e.g. /usr/bin). You can then use it via `git recentco` from inside any git repo.
# Example:
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo ""
echo "Please add this public key to Github \n"
echo " \n"
read -p "Press [Enter] key after this..."
echo ""
View mapDispatchToProps.js
// previous
componentWillMount() {
const { fetchSchedule, someOtherMethod, taskerInfo: { user_id } } = this.props;
export default connect(mapStateToProps, {