Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 837 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 837 Bytes

utils

Utils that help my everyday life

codemods

jscodeshift codemods to help with migrations and code refactors:

  • relativePaths: remove relative paths for specified aliases

files

Some file utils:

  • output-files-with-prefix: outputs all files in a directory with a prefix
  • rename_spaces_to_underscores: renames files with spaces to underscores (example: Hello World.png to Hello_World.png)

git

Some git utilities:

  • interactive-drop: cleanup for git stash - drops all stashes in a range (e.g. from 5 to 10).
  • prune: removes already merged branches and remotely removed branches
  • rebase-all: rebases all defined branches in line #1 against master
  • rename: renames a branch from $1 to $2 argument (including remotely)

dotenv

Used to sync configs between different machines