m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2022-12-26 19:36:00 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2022-12-26 19:36:05 +0100
commit84564a54afe9b87e081627447979829467cc2210 (patch)
treef8991a08a790fa9515895ab8b98d26c1e0663404
parentc58e2daa4479ca4d731fa97c68b18f1632f14dd7 (diff)
Add changing git remote url
-rw-r--r--git.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/git.md b/git.md
index 0c512d0..c18e88e 100644
--- a/git.md
+++ b/git.md
@@ -30,3 +30,9 @@ Outputs to stdout a tar archive of the index at the given commit. Make a
directory of just the code, not a repo:
git archive <commit> | tar --extract --directory <output dir>
+
+## Remotes
+
+Change remote url:
+
+ git remote set-url <remote> <new url>