This is the repository where we are going to learn bash and would like to automate our project.
- git clone repoName : Download the whole repository
- git pull : Download only the changes
- git add fileName : Git will start tracking the you're making on the file named fileName
- git commit -m "msg Name" : Adding Msg to the commit / changes that you made .
- git push : Your changes will be pushed to the repo.
PS: Ensure you are inside the repo to executre the git commands ; We will perform clone once and pull multiple times
for project in <project_list>; do
echo "Project: $project"
gcloud projects get-iam-policy $project
--flatten="bindings[].members"
--format='value(bindings.members)'
--filter="bindings.role:roles/owner AND bindings.members:user:*" |
awk -F "@" '{print $1","$0}'
done