Intelli j Tweaks

Hot deploy/swap to Servlet Server

  1. File –> Settings –> Debugger –> HotSwap
    1. enable class reload classed on the background : true
    2. enable class reload classed after compilations : always
  2. Run/Debug Configurations 
    1. select “Update resources” in the drop-down “On frame deactivation”.

More here

 

Git Alias Configuration Example

Edit your .gitconfig file in your $HOME directory for some serious time saving git shortcuts

[core]
 excludesfile = /Users/moses.mansaray/.gitignore_global
 autocrlf = input

[user]
 name = moses.mansaray
 email = moses.mansaray@domain.com

[push]
 default = simple

[alias]
 co = checkout
 cob = checkout -b
 cod = checkout develop
 ci = commit
 st = status

 save = !git add -A && git commit -m
 br = branch

 rhhard-1 = reset --hard HEAD~1
 rhhard-o = reset head --hard

 hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short

 type = cat-file -t
 dump = cat-file -p

 llf = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
 lld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short

 amend = commit -a --amend