diff options
Diffstat (limited to 'git.md')
| -rw-r--r-- | git.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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> |