Added a comment: possible fix
authorpsxvoid <psxvoid@web>
Mon, 4 Nov 2024 13:54:23 +0000 (13:54 +0000)
committeradmin <admin@branchable.com>
Mon, 4 Nov 2024 13:54:23 +0000 (13:54 +0000)
doc/forum/Stuck_in_git_annex_view__58___file_name_too_long/comment_1_902f5c6ccc6b65ecdbc89b3bf3a2468a._comment [new file with mode: 0644]

diff --git a/doc/forum/Stuck_in_git_annex_view__58___file_name_too_long/comment_1_902f5c6ccc6b65ecdbc89b3bf3a2468a._comment b/doc/forum/Stuck_in_git_annex_view__58___file_name_too_long/comment_1_902f5c6ccc6b65ecdbc89b3bf3a2468a._comment
new file mode 100644 (file)
index 0000000..db46974
--- /dev/null
@@ -0,0 +1,25 @@
+[[!comment format=mdwn
+ username="psxvoid"
+ avatar="http://cdn.libravatar.org/avatar/fde068fbdeabeea31e3be7aa9c55d84b"
+ subject="possible fix"
+ date="2024-11-04T13:54:23Z"
+ content="""
+Hi,
+
+Seem like I've managed to fix it by openning `.git/HEAD` file with VIM, and then changing:
+
+```
+ref: refs/heads/views/main(tag=_)
+```
+
+to this:
+
+```
+ref: refs/heads/main
+```
+
+Saved the file, then ran `git stash --all`. Which returned the repo to the original state.
+
+Also before `git stash --all`, I ran `git restore .` `git annex fsck`, and `git add -A` but those didn't change anything.
+
+"""]]