Guest User

Untitled

a guest
Jun 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. # Config Aliases (easily edit your config files)
  2. # (not needed if using zsh + ohmyzsh as it adds them for you)
  3. alias gitconfig="vim ~/.gitconfig"
  4. alias gitignore="vim ~/.gitignore"
  5. alias vimconfig="vim ~/.vimrc"
  6. alias zshconfig="vim ~/.zshrc" # DELETE IF NOT USING ZSH
  7. alias ohmyzsh="vim ~/.oh-my-zsh" # DELETE IF NOT USING ohmyzsh
  8. alias bashconfig="vim ~/.bash_profile" # DELETE IF NOT USING BASH
  9.  
  10. # git aliases (not needed if using zsh + ohmyzsh as it adds them for you)
  11. alias gco="git checkout"
  12. alias gcm="git checkout master"
  13. alias gcb="git checkout -b"
  14. alias gb="git branch"
  15. alias gst="git status"
  16. alias gl="git pull"
  17. alias gp="git push"
  18. alias gcmsg="git commit -m"
  19. alias gf="git fetch"
  20. alias ga="git add"
  21.  
  22. # sfdx aliases
  23. alias sfls="sfdx force:org:list"
  24.  
  25. # authenticates with dev hub, sets it as default and calls it 'grs-prod'
  26. alias sflogin="sfdx force:auth:web:login -a -d grs-prod"
  27.  
  28. # creates scratch org, user must provide alias
  29. alias create_org="sfdx force:org:create -s -f config/project-scratch-def.json -a"
  30.  
  31. # all of these will use the default username unless supplied the
  32. # -u flag with an alias / username
  33. alias sfopen="sfdx force:org:open"
  34. alias sfstatus="sfdx force:source:status"
  35. alias sfpush="sfdx force:source:push"
  36. alias sfpull="sfdx force:source:pull"
Add Comment
Please, Sign In to add comment