m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>