Skip to content

Instantly share code, notes, and snippets.

@mislav
mislav / workflows-automerge.yml
Last active December 5, 2023 02:41
Using GitHub CLI from GitHub Actions
name: Auto-merge
on:
pull_request:
types: [opened]
jobs:
automerge:
runs-on: ubuntu-latest
@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>