# Git command for jenkins build * command ```shell // latest commit SHA $ git rev-parse refs/remotes/origin/dev // checkout SHA $ git checkout -f 0760d8575d5e21774f1c571a0f7d41271afb640a $ git init /var/lib/jenkins/workspace/razer-pay-admin-portal $ git fetch --tags --progress git@bitbucket.org:razersw/razer-pay-admin-portal.git +refs/heads/*:refs/remotes/admin-portal/* $ git config remote.admin-portal.url git@bitbucket.org:razersw/razer-pay-admin-portal.git $ git config --add remote.admin-portal.fetch +refs/heads/*:refs/remotes/admin-portal/* $ git rev-parse refs/remotes/admin-portal/master $ git config core.sparsecheckout $ git checkout -f f5d0db852cfb15c6ee14ca8fc2944862fdd8a521 // history log in graph view $ git log --graph --decorate --oneline ```