Skip to content

Commit 7a60854

Browse files
committed
remote branch deletion
1 parent 8fbb499 commit 7a60854

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/2_repo_fetch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"path_to_folder_to_synchronize_from": "https://github.com/InseeFrLab/satellite-images-docs/tree/main/cards",
4-
"last_commit_sha": "862f2dc2f0c12d62a38b62de48d096452a1685ca",
4+
"last_commit_sha": "82hgfhfhgfg",
55
"path_to_folder_to_synchronize_to": "project/2022_satellites/cards",
66
"replacements": [
77
{
@@ -36,7 +36,7 @@
3636
},
3737
{
3838
"path_to_folder_to_synchronize_from": "https://github.com/InseeFrLab/codif-ape-prez/tree/main/cards",
39-
"last_commit_sha": "0d474addc0735a610ecb7cc54bd5362114446925",
39+
"last_commit_sha": "7925ghfhfg",
4040
"path_to_folder_to_synchronize_to": "project/2022_codif_ape/cards",
4141
"replacements": [
4242
{

scripts/2_synchronize.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ main() {
146146
# replacement: "${replacements:0:20}...""
147147

148148
# # Delete branch
149-
git branch -D origin/auto_fetch
149+
git push origin --delete auto_fetch
150150
git branch -D auto_fetch
151151

152152
# Create a branch only if it hasn't been created yet

0 commit comments

Comments
 (0)