m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/git.md
diff options
context:
space:
mode:
Diffstat (limited to 'git.md')
-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>