Created
February 15, 2017 18:57
-
-
Save pankajpatel/141222b8525b972d4119751d1425f1de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Brahch Listing" | |
cd /c/xampp/htdocs/ | |
cd ./REPO1 | |
x="$(git rev-parse --abbrev-ref HEAD)" | |
printf "REPO1\t$x" | |
cd ./REPO2 | |
x="$(git rev-parse --abbrev-ref HEAD)" | |
printf "REPO2\t$x" | |
cd ./REPO3 | |
x="$(git rev-parse --abbrev-ref HEAD)" | |
printf "REPO3\t$x" | |
cd ./REPO4 | |
x="$(git rev-parse --abbrev-ref HEAD)" | |
printf "REPO4\t$x" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment