czwartek, 6 listopada 2014

Git useful commands

Stashing


to push a new stash onto your stack
git stash
list down all stashes
git stash list
to apply a stash and keep it in the stash stack
git stash apply stash@{0}
to apply a stash and remove it from the stash stack
git stash pop stash@{0}
to give stash a name
git stash save "stashName"
turn a stash into a branch
git stash branch [branchname] [stash]

piątek, 19 września 2014

curl examples



curl -X GET \
     -H 'Content-Type: application/json' \
     -d '{"bookingProcessId":1}' http://localhost:8080/mp/conversation/history/search