Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 20th, 2018
106
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/usr/bin/env bash
GITCMD=status
if [[ -n $1 ]]; then
GITCMD=$1
fi
echo
for dir in `ls`; do
(if [[ -d "$dir" && -d "$dir/.git" ]]; then
cd $dir
echo $dir
git "$GITCMD"
cd ..
echo
fi)
done
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Python | 4 min ago | 3.84 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 6 min ago | 0.39 KB
luvs ya guys snowybots completed
JavaScript | 7 min ago | 2.10 KB
maze - backtracking
C# | 9 min ago | 3.50 KB
Untitled
Python | 10 min ago | 1.73 KB
Rock (MoodPlay)
Dart | 13 min ago | 3.49 KB
luvs ya guys snowybots completed
JavaScript | 23 min ago | 1.71 KB
Experiment3-labwork
SQL | 32 min ago | 0.92 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!