Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:lawrancej/CompilerDesign into exp…
…eriment
- Loading branch information
Showing
4 changed files
with
102 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.html |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
collaborators=( "lawrancej" "UnZinkable" "mrpenguin7" "CyDrive" "jcamps" "powersa2" "AllTheAction" "lapatink" "tannerd01" "kirip" "tomleo" "garciaa1" "KBVuong1" "RoboCafaz" "LynxStar" "theCompanyDream" "aghon" "SoxMax" "nhogan11" "finna" "CyaSteve" "sthdips09" "torosianj" "vafaeed" "cantrellk" "dalswaimil" ) | ||
|
||
if [ $# = 0 ]; then | ||
echo "Do git commands for all collaborators." | ||
echo "" | ||
echo "Usage: $0 COMMAND" | ||
echo "" | ||
echo "Where COMMAND is one the following:" | ||
echo "setup Do git remote add for all collaborators" | ||
echo "fetch Do git fetch for all collaborators" | ||
echo "clean Do git remote rm for all collaborators" | ||
echo "" | ||
echo "Example: $0 setup" | ||
elif [ $1 = "fetch" ]; then | ||
git fetch --all | ||
else | ||
for collaborator in "${collaborators[@]}" | ||
do | ||
if [ $1 = "setup" ]; then | ||
git remote add $collaborator https://github.com/$collaborator/CompilerDesign.git | ||
elif [ $1 = "clean" ]; then | ||
git remote rm $collaborator | ||
fi | ||
done | ||
fi |
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
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