Skip to content

Instantly share code, notes, and snippets.

import Adapter from "ember-data/adapters/active-model";
export default DS.JSONAPIAdapter.extend({
shouldReloadRecord: () => false,
shouldBackgroundReloadRecord: () => false
});
import Adapter from "ember-data/adapters/active-model";
export default DS.JSONAPIAdapter.extend({
shouldReloadRecord: () => false,
shouldBackgroundReloadRecord: () => false
});
@bmac
bmac / ..git-pr.md
Created August 9, 2018 13:16 — forked from gnarf/..git-pr.md
git pr - Global .gitconfig aliases for Pull Request Managment

Install

Either copy the aliases from the .gitconfig or run the commands in add-pr-alias.sh

Usage

Easily checkout local copies of pull requests from remotes:

  • git pr 4 - creates local branch pr/4 from the github upstream(if it exists) or origin remote and checks it out
  • git pr 4 someremote - creates local branch pr/4 from someremote remote and checks it out