dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

git.talon (3081B)


      1 tag: terminal
      2 and tag: user.git
      3 -
      4 # Standard commands
      5 git add patch: "git add . -p\n"
      6 git add: "git add "
      7 git add everything: "git add -u\n"
      8 git bisect: "git bisect "
      9 git blame: "git blame "
     10 git branch: "git branch "
     11 git remote branches: "git branch --remote\n"
     12 git branch <user.text>: "git branch {text}"
     13 git checkout: "git checkout "
     14 git checkout master: "git checkout master\n"
     15 git checkout main: "git checkout main\n"
     16 git checkout <user.text>: "git checkout {text}"
     17 git cherry pick: "git cherry-pick "
     18 git cherry pick continue: "git cherry-pick --continue "
     19 git cherry pick abort: "git cherry-pick --abort "
     20 git cherry pick skip: "git cherry-pick --skip "
     21 git clone: "git clone "
     22 # Leave \n out for confirmation since the operation is destructive
     23 git clean everything: "git clean -dfx"
     24 git commit message <user.text>: "git commit -m '{text}'"
     25 git commit: "git commit\n"
     26 git diff (colour|color) words: "git diff --color-words "
     27 git diff: "git diff "
     28 git diff cached: "git diff --cached\n"
     29 git fetch: "git fetch\n"
     30 git fetch <user.text>: "git fetch {text}"
     31 git fetch prune: "git fetch --prune\n"
     32 git in it: "git init\n"
     33 git log all: "git log\n"
     34 git log all changes: "git log -c\n"
     35 git log: "git log "
     36 git log changes: "git log -c "
     37 git merge: "git merge "
     38 git merge <user.text>:"git merge {text}"
     39 git move: "git mv "
     40 git new branch: "git checkout -b "
     41 git pull: "git pull\n"
     42 git pull origin: "git pull origin "
     43 git pull rebase: "git pull --rebase\n"
     44 git pull fast forward: "git pull --ff-only\n"
     45 git pull <user.text>: "git pull {text} "
     46 git push: "git push\n"
     47 git push origin: "git push origin "
     48 git push up stream origin: "git push -u origin"
     49 git push <user.text>: "git push {text} "
     50 git push tags: "git push --tags\n"
     51 git rebase: "git rebase\n"
     52 git rebase continue: "git rebase --continue"
     53 git rebase skip: "git rebase --skip"
     54 git remove: "git rm "
     55 git (remove|delete) branch: "git branch -d "
     56 git (remove|delete) remote branch: "git push --delete origin "
     57 git reset: "git reset "
     58 git reset soft: "git reset --soft "
     59 git reset hard: "git reset --hard "
     60 git restore: "git restore "
     61 git restore staged: "git restore --staged "
     62 git remote show origin: "git remote show origin\n"
     63 git remote add upstream: "git remote add upstream "
     64 git show: "git show "
     65 git stash pop: "git stash pop\n"
     66 git stash: "git stash\n"
     67 git stash apply: "git stash apply\n"
     68 git stash list: "git stash list\n"
     69 git stash show: "git stash show"
     70 git status: "git status\n"
     71 git submodule add:  "git submodule add "
     72 git tag: "git tag "
     73 
     74 # Convenience
     75 git edit config: "git config --local -e\n"
     76 
     77 git clone clipboard:
     78   insert("git clone ")
     79   edit.paste()
     80   key(enter)
     81 git diff highlighted:
     82     edit.copy()
     83     insert("git diff ")
     84     edit.paste()
     85     key(enter)
     86 git diff clipboard:
     87     insert("git diff ")
     88     edit.paste()
     89     key(enter)
     90 git add highlighted:
     91     edit.copy()
     92     insert("git add ")
     93     edit.paste()
     94     key(enter)
     95 git add clipboard:
     96     insert("git add ")
     97     edit.paste()
     98     key(enter)
     99 git commit highlighted:
    100     edit.copy()
    101     insert("git add ")
    102     edit.paste()
    103     insert("\ngit commit\n")