Guest User

Untitled

a guest
Oct 20th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. exists=`git show-ref refs/heads/<branch-name>`
  2. if [ -n "$exists" ]; then
  3. echo 'branch exists!'
  4. fi
Add Comment
Please, Sign In to add comment