Giter Club home page Giter Club logo

bash's Introduction

Bash

.bash_profile

export PATH="$HOME/.yarn/bin:$PATH"
export PATH="$HOME/AppData/Roaming/npm:$PATH"
source ~/.bash_aliases

.bash_aliases

gitFetchAndCheckoutBranch() {
  git fetch
  git checkout $1
}

alias ..='cd ..'
alias ...='cd ../..'
alias br='source ~/.bash_profile ; source ~/.bash_aliases ; echo --- reloaded'
alias c='clear'
alias deletealldockerimages='docker rmi $(docker images -q)'
alias fetchout='gitFetchAndCheckoutBranch'
alias gitfix='git gc --prune=now'
alias gitup='git fetch origin ; git branch -v -a'
alias gw='gulp && gulp watch'
alias killnode='taskkill -F -IM node.exe'
alias ll='ls -lhF --color --group-directories-first'
alias ls='ls -hF --color --group-directories-first'
alias myremotebranches='git for-each-ref --format=" %09 %(authordate:short) %09 %(authorname) %09 %(refname)" --sort=-authordate | grep Michael | grep refs/remotes | grep -n " " | sed "s@refs/remotes/origin/@@g" | sed "s@Lothar@L@g"'
alias npmglob='npm list -g --depth=0'
alias uniqhistory='cat ~/.bash_history | sort | uniq > ~/.bash_history.uniq'
alias vial='vi ~/.bash_aliases'
alias vibr='vi ~/.bash_profile'

# https://csswizardry.com/2017/05/little-things-i-like-to-do-with-git/
alias gitstat='echo --- Commits in 2018: ; git shortlog -sn --all --no-merges --since="2018-01-01"'
alias gitrecent='git for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"'
alias gitoverview='git log --all --since="yesterday" --oneline --no-merges'
alias gitrecap='git log --all --oneline --no-merges [email protected]'
alias gittoday='git log --since=00:00:00 --all --no-merges --oneline [email protected]'

bash's People

Contributors

tennisfar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.