Skip to content

Commit 6a5ea12

Browse files
author
eliranm
committed
fix broken link
1 parent 116a9bf commit 6a5ea12

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
1414
* [Everyday Git in twenty commands or so](#everyday-git-in-twenty-commands-or-so)
1515
* [Show helpful guides that come with Git](#show-helpful-guides-that-come-with-git)
1616
* [Search change by content](#search-change-by-content)
17-
* [Sync with remote - overwrite local changes](#sync-with-remote-overwrite-local-changes)
17+
* [Sync with remote, overwrite local changes](#sync-with-remote-overwrite-local-changes)
1818
* [List of all files till a commit](#list-of-all-files-till-a-commit)
1919
* [Git reset first commit](#git-reset-first-commit)
2020
* [List all the conflicted files](#list-all-the-conflicted-files)
@@ -185,7 +185,7 @@ git help -g
185185
git log -S'<a term in the source>'
186186
```
187187

188-
## Sync with remote - overwrite local changes
188+
## Sync with remote, overwrite local changes
189189
```sh
190190
git fetch origin && git reset --hard origin/master && git clean -f -d
191191
```
@@ -291,13 +291,7 @@ git tag -d <tag-name>
291291

292292
## Delete remote tag
293293
```sh
294-
git push origin :<remote_tagname>
295-
```
296-
297-
298-
__Alternatives:__
299-
```sh
300-
git push origin :refs/tags/<remote_tagname>
294+
git push origin :refs/tags/<tag-name>
301295
```
302296

303297
## Undo local changes with the last content in head

0 commit comments

Comments
 (0)