rscherf / GitLink

Open your Sublime Text files on GitHub, Bitbucket, Gitlab or Codebase
http://ryan.sc
35 stars 25 forks source link

Incorrect links was opened #10

Closed Kristinita closed 2 years ago

Kristinita commented 8 years ago

Summary

Was opened incorrect links.

Expected behavior

Right link:

https://github.com/Kristinita/Kristinita.GitHub.io/blob/master/Sasha-Black.html#L14

Actual behavior

Actual link:

https://github.com/Kristinita/Kristinitahub.io/blob/master/Sasha-Black.html#L14

Steps to reproduce

I tested on a version of Sublime Text without plugins and user settings.

I installed GitLink → restart Sublime Text → I open context menu in file of my repository on line 14 → GitLinkOpen Git URL To Line → was opened incorrect link.

Environment

Operating system and version: Windows 10.0.14393 Sublime Text: Build 3126

Thanks.

rscherf commented 8 years ago

Based on the links you posted here, it looks like you may have changed your repository name on Github, but that changed was never updated locally:

Kristinita.GitHub.io => Kristinitahub.io

One thing to try would be to delete your project and re-checkout the same project with the updated name.

Kristinita commented 8 years ago

it looks like you may have changed your repository name on GitHub, but that changed was never updated locally:

I never change name of this repository.

One thing to try would be to delete your project

I many times work on this project. Delete project with all commits history — is bad solution. And in Githubinator I open correct URL.

Thanks.

rscherf commented 8 years ago

I was not suggesting that you delete your project from Github, I was suggesting that you delete your project locally and then check it out again (ensuring all of your existing changes are pushed to a branch).

Kristinita commented 7 years ago

@rscherf, problem reproduced for me in Windows 64-bit EN LTSB. In similar packages Githubinator and Sublime GitHub I can get no this error.

May you tell me step-by-step, what I need to make? I'm not understand you :crying_cat_face:.

Thanks.