From 18f472475799c9c485455cda353fc5f0312517c8 Mon Sep 17 00:00:00 2001 From: eliranm Date: Tue, 28 Mar 2017 11:29:18 +0300 Subject: [PATCH] fix broken link --- README.md | 12 +++--------- tips.json | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index afb2649..1a0b680 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [Everyday Git in twenty commands or so](#everyday-git-in-twenty-commands-or-so) * [Show helpful guides that come with Git](#show-helpful-guides-that-come-with-git) * [Search change by content](#search-change-by-content) -* [Sync with remote - overwrite local changes](#sync-with-remote-overwrite-local-changes) +* [Sync with remote, overwrite local changes](#sync-with-remote-overwrite-local-changes) * [List of all files till a commit](#list-of-all-files-till-a-commit) * [Git reset first commit](#git-reset-first-commit) * [List all the conflicted files](#list-all-the-conflicted-files) @@ -185,7 +185,7 @@ git help -g git log -S'' ``` -## Sync with remote - overwrite local changes +## Sync with remote, overwrite local changes ```sh git fetch origin && git reset --hard origin/master && git clean -f -d ``` @@ -291,13 +291,7 @@ git tag -d ## Delete remote tag ```sh -git push origin : -``` - - -__Alternatives:__ -```sh -git push origin :refs/tags/ +git push origin :refs/tags/ ``` ## Undo local changes with the last content in head diff --git a/tips.json b/tips.json index 90526c8..e32beae 100644 --- a/tips.json +++ b/tips.json @@ -8,7 +8,7 @@ "title": "Search change by content", "tip": "git log -S''" }, { - "title": "Sync with remote - overwrite local changes", + "title": "Sync with remote, overwrite local changes", "tip": "git fetch origin && git reset --hard origin/master && git clean -f -d" }, { "title": "List of all files till a commit",