Compare commits

...

3 Commits

Author SHA1 Message Date
Edwin Kofler
944f586ef8
Merge 0e780f4448 into 1c23d34fbb 2023-10-31 02:47:26 -07:00
Edwin Kofler
0e780f4448
Remove redundancy in delete remote tag 2023-10-31 02:47:02 -07:00
hemanth.hm
1c23d34fbb
Merge pull request #215 from arnabnandy7/add-tips-python-env
Fix:git checkout -- <file_name> is incorrect #177
2023-05-02 08:11:11 -07:00
2 changed files with 3 additions and 8 deletions

View File

@ -331,7 +331,7 @@ git tag -d <tag-name>
## Delete remote tag
```sh
git push origin --delete refs/tags/<tag-name>
git push origin --delete <tag-name>
```
@ -340,11 +340,6 @@ __Alternatives:__
git push origin :refs/tags/<tag-name>
```
```sh
git push origin --delete <tag-name>
```
## Undo local changes with the content in index(staging)
```sh
git checkout -- <file_name>

View File

@ -73,8 +73,8 @@
"tip": "git tag -d <tag-name>"
}, {
"title": "Delete remote tag",
"tip": "git push origin --delete refs/tags/<tag-name>",
"alternatives": ["git push origin :refs/tags/<tag-name>", "git push origin --delete <tag-name>"]
"tip": "git push origin --delete <tag-name>",
"alternatives": ["git push origin :refs/tags/<tag-name>"]
}, {
"title": "Undo local changes with the content in index(staging)",
"tip": "git checkout -- <file_name>"