Skip to content

Instantly share code, notes, and snippets.

@KalikaKay
Last active September 10, 2020 13:49
Show Gist options
  • Select an option

  • Save KalikaKay/b9061f64494bd63b4666b13ae1df8c8b to your computer and use it in GitHub Desktop.

Select an option

Save KalikaKay/b9061f64494bd63b4666b13ae1df8c8b to your computer and use it in GitHub Desktop.

Revisions

  1. KalikaKay revised this gist Sep 10, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .bash_profile
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    #-----------------------
    # Quick access to files and folders
    #-----------------------
    alias tp= [link to thinkful projects folder]
    alias tp= [path to thinkful projects folder]

    # ----------------------
    # Git Aliases
  2. KalikaKay created this gist Sep 10, 2020.
    41 changes: 41 additions & 0 deletions .bash_profile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@
    # ~/.bash_profile
    #-----------------------
    # Quick access to files and folders
    #-----------------------
    alias tp= [link to thinkful projects folder]

    # ----------------------
    # Git Aliases
    # ----------------------
    alias g='git'
    alias ga='git add'
    alias gaa='git add .'
    alias gaaa='git add --all'
    alias gau='git add --update'
    alias gb='git branch'
    alias gbd='git branch --delete '
    alias gcm='git commit --message'
    alias gco='git checkout'
    alias gcob='git checkout -b'
    alias gcom='git checkout master'
    alias gcos='git checkout staging'
    alias gcod='git checkout develop'
    alias gd='git diff'
    alias gda='git diff HEAD'
    alias gi='git init'
    alias glg='git log --graph --oneline --decorate --all'
    alias gld='git log --pretty=format:"%h %ad %s" --date=short --all'
    alias gm='git merge --no-ff'
    alias gma='git merge --abort'
    alias gmc='git merge --continue'
    alias gp='git pull'
    alias gpr='git pull --rebase'
    alias gr='git rebase'
    alias gs='git status'
    alias gss='git status --short'
    alias gst='git stash'
    alias gsta='git stash apply'
    alias gstd='git stash drop'
    alias gstl='git stash list'
    alias gstp='git stash pop'
    alias gsts='git stash save'