Last active
May 8, 2023 11:22
-
-
Save koraysels/b2f093f4f6ebc8b01d752bf7f7850e8c to your computer and use it in GitHub Desktop.
Revisions
-
koraysels revised this gist
May 8, 2023 . 1 changed file with 12 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/bash #written by koray sels # Define the CSV file csv_file="repos.csv" # Read the CSV file line by line while IFS=',' read -r name url; do # Clone the repository git clone "$url" "$name" done < "$csv_file" -
koraysels revised this gist
Sep 21, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ while read repo; do git clone "$repo" done < ../INF101AB.txt cd ../INF102AB while read repo; do git clone "$repo" done < ../INF102AB.txt -
koraysels revised this gist
Sep 21, 2022 . No changes.There are no files selected for viewing
-
koraysels revised this gist
Sep 21, 2022 . 2 changed files with 7 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/usr/bin/env bash find INF101AB/. -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} fetch -u origin \; find INF101AB/. -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} reset --hard HEAD \; find INF102AB/. -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} fetch -u origin \; find INF102AB/. -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} reset --hard HEAD \; -
koraysels revised this gist
Sep 21, 2022 . No changes.There are no files selected for viewing
-
koraysels created this gist
Sep 21, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/usr/bin/env bash cd INF101AB while read repo; do git clone "$repo" done < ../INF101AB.txt cd INF102AB while read repo; do git clone "$repo" done < ../INF102AB.txt