diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2019-11-05 22:12:21 -0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-11-05 22:12:21 -0800 |
commit | 95309e9af5c58cd0f468ac1fadfcef3ff52aaa6a (patch) | |
tree | f7a7fa30a8a15b7aa9ac8b270abf0e00e09057d2 /keyboards/kc60/keymaps/noroadsleft/readme_git.md | |
parent | dfb78d2a086daa2ceb3fd043afce03785abfa23a (diff) | |
download | qmk_firmware-95309e9af5c58cd0f468ac1fadfcef3ff52aaa6a.tar.gz qmk_firmware-95309e9af5c58cd0f468ac1fadfcef3ff52aaa6a.zip |
[Keymap] Updates to noroadsleft keymap for KC60 (2019-11-05) (#7265)
* Rename layers_keymap to layer_names
* Update Escape and Left Control keys
- change KC_GESC to KC_ESC
- change KC_LCTL to MT(MOD_LCTL, KC_GRV)
* Disable features I don't use
Makes the firmware lean. Why? Because I can. :D
* Update the readme files
* Add KC_F13 through KC_F24 emulation
... and update the readme files accordingly.
* Update rules/config
- Swap EXTRAFLAGS for LINK_TIME_OPTIMIZATION_ENABLE
- remove NO_ACTION_MACRO and NO_ACTION_FUNCTION
- Re-enable COMMAND
* concatenate full-length and short layer names
* enable dynamic macros
* update readme files
Diffstat (limited to 'keyboards/kc60/keymaps/noroadsleft/readme_git.md')
-rw-r--r-- | keyboards/kc60/keymaps/noroadsleft/readme_git.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/keyboards/kc60/keymaps/noroadsleft/readme_git.md b/keyboards/kc60/keymaps/noroadsleft/readme_git.md index b81bb9409d..432f1abc7e 100644 --- a/keyboards/kc60/keymaps/noroadsleft/readme_git.md +++ b/keyboards/kc60/keymaps/noroadsleft/readme_git.md @@ -11,7 +11,8 @@ # Cherry Pick cp = cherry-pick - # Check out a Pull Request + # Check out a Pull Request locally + # e.g. `git cop 351` fetches the commits from Pull Request #351 and saves it to local branch 'pr/351'. cop = "!f() { git fetch upstream pull/$1/head:pr/$1; git checkout pr/$1; }; f" # Sync master branch @@ -39,13 +40,17 @@ # Short-form status st = "!git status --short --untracked-files=no" + stu = "!git ls-files --others -x '*/*'" # Returns the name of the current branch branch-name = "!git rev-parse --abbrev-ref HEAD" bn = "!git branch-name" # short-form of the above + # List branches by the date of their last commit, newest to oldest + bbd = "for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='[33m%(objectname)[0m %(objecttype) [32m%(refname:short)[0m (%(authordate))'" # Compare commit counts between current branch and QMK master - cc = "!f() { git fetch upstream; echo \"[0;32m$(git branch-name)[0m vs. [0;31mupstream/master[0m\"; git rev-list --left-right --count $(git branch-name)...upstream/master; }; f" + # e.g. `git cc dev_branch upstream/master` returns how many commits are on `dev_branch` and not on `upstream/master`, and vice versa. + cc = "!f() { git fetch upstream; echo \"[0;32m$(git branch-name)[0m vs. [0;31m$2[0m\"; git rev-list --left-right --count $1...$2; }; f" # Push to origin repo po = "push origin $(git branch-name)" @@ -71,6 +76,4 @@ # Force push without overwriting established history pushf = push --force-with-lease - - ``` |