Skip to content

starkdcc/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My config files. Mostly Windows + Git Bash + Python dev setup.

Contents

.
├── .bashrc              # aliases, prompt, env
├── .gitconfig           # git aliases + global settings
├── .gitignore_global    # python, node, IDE junk
├── vscode/
│   ├── settings.json    # editor config
│   └── keybindings.json # custom shortcuts
└── scripts/
    └── setup.sh         # one-shot install

Install

git clone https://github.com/starkdcc/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
bash scripts/setup.sh

The install script:

  • Symlinks dotfiles to your $HOME
  • Sets global gitignore
  • Copies VSCode settings

Aliases worth stealing

g       → git
gs      → git status -sb
ga      → git add
gc      → git commit -m
gp      → git push
gl      → git log --oneline --graph --decorate --all -20
gd      → git diff
co      → git checkout
br      → git branch
amend   → git commit --amend --no-edit

..      → cd ..
...     → cd ../..
ll      → ls -lah

py      → python
pip-up  → pip install --upgrade pip
venv    → python -m venv .venv && source .venv/Scripts/activate

Git shortcuts

git lg       → pretty graph log
git undo     → undo last commit (keep changes)
git nuke     → reset hard to remote
git prune-gone → delete local branches whose remote is gone

License

MIT — steal anything.

About

My bash, git, and editor configs.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages