m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/git.md
diff options
context:
space:
mode:
Diffstat (limited to 'git.md')
-rw-r--r--git.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/git.md b/git.md
index 0c512d0..34d814f 100644
--- a/git.md
+++ b/git.md
@@ -15,7 +15,7 @@
git bisect new
git checkout <some commit a while ago>
git bisect old
- git bisect run <command that returns 1 on old, 0 on new>
+ git bisect run <command that returns 0 on old, 1 on new>
## Patches
@@ -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>