Answer the question
In order to leave comments, you need to log in
How to get around git error: fatal: file is outside repository in Pycharm?
There is a git repository, it has a lot of branches. There are several remote repositories.
There is Pycharm version 4.0.5 and Windows 8.1.
At some point, I decided to download one of the branches for myself. Actually, through PyCharm I pulled the buddy / master -> buddy_master branches.
Everything would be fine, but in the remote repository there was a file called "t: Connection refused". For obvious reasons, it could not be created in Windows.
Since I did not need these changes, I deleted the local buddy_master branch and switched to my branch, in which I made changes before titusov_master.
Bottom line, if I use git bash or git gui everything works fine. git status shows:
On branch titusov_master
Your branch is up-to-date with 'titusov/titusov_master'.
nothing to commit, working directory clean
Error updating changes: fatal: 't: Connection refused' is outside repository during executing git -c core.quotepath=false status --porcelain -z --untracked-files=no --. "t: Connection refused"
Answer the question
In order to leave comments, you need to log in
Understood.
Deleted lines from workspace.xml
<list default="true" id="182cfec7-5e6a-417f-b35f-5babd231f6d1" name="Default" comment="">
<change type="DELETED" beforePath="t: Connection refused" afterPath="" />
</list>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question