From 8c1e320dd40c8f99df46bdf0f1097d2365485519 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 27 Aug 2024 12:02:32 +0200 Subject: fix: collect also push URLs This is a hack: we should collect pull URLs and push URLs (if any) separately and use the appropriate ones, or perhaps add a flag to each URL, whether it is capable of pushing. Also, add test for the remote URLs (pull and push) --- _examples/clone/auth/ssh/ssh_agent/.gitignore | 1 + _examples/push/.gitignore | 1 + 2 files changed, 2 insertions(+) create mode 100644 _examples/clone/auth/ssh/ssh_agent/.gitignore create mode 100644 _examples/push/.gitignore (limited to '_examples') diff --git a/_examples/clone/auth/ssh/ssh_agent/.gitignore b/_examples/clone/auth/ssh/ssh_agent/.gitignore new file mode 100644 index 0000000..6b40bab --- /dev/null +++ b/_examples/clone/auth/ssh/ssh_agent/.gitignore @@ -0,0 +1 @@ +go-git-example-clone-auth-ssh_agent diff --git a/_examples/push/.gitignore b/_examples/push/.gitignore new file mode 100644 index 0000000..27f20a4 --- /dev/null +++ b/_examples/push/.gitignore @@ -0,0 +1 @@ +go-git-example-push -- cgit