Skip to content

Instantly share code, notes, and snippets.

View meyerdan's full-sized avatar

Daniel Meyer meyerdan

View GitHub Profile
@nikku
nikku / brosome-git.md
Last active December 30, 2015 03:38
Git awesome hacker shortcuts

Pull

Pull changes into the local repository.

  • Pull upstream changes from <remote name>/<branch name> and perform a rebase on current branch instead of merging it (via). Useful to update+merge pull requests.

    git pull --rebase <remote name> <branch name>