Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
157 views

I'm reading a post on the github.blog website about the changes introduced in Git version 2.51, and I came across a section that really confused me — it’s about the internal representation (format) of ...
dassd's user avatar
  • 213
0 votes
2 answers
140 views

I'm trying to understand how git stash works and I'm running into a problem when I try to restore the index (--index) when I have some uncommitted content. I couldn't figure out what was happening ...
dassd's user avatar
  • 213
0 votes
1 answer
121 views

I understand how Git detects conflicts in some other commands: git merge – Git finds the merge base (last common commit) and checks which side has made changes. If both sides changed the same lines, ...
dassd's user avatar
  • 213
0 votes
2 answers
60 views

I'm having a difficult time with untracked changes shown as directories in git status. This is particularly problematic when the number of untracked changes is huge. Now there are some folders I did ...
1 vote
2 answers
125 views

I stashed some changes via git stash and then did git log --oneline --graph --all. I got the following: * 6088953 (refs/stash) WIP on main: 62c9742 G |\ | * 5b46ef8 index on main: 62c9742 G |/ * ...
dassd's user avatar
  • 213
0 votes
1 answer
70 views

So I did git stash -u with my local files. I got this error: Unlink of file 'data/somefile.pdf' failed. Should I try again? (y/n) The reason why I have a PDF file in the repo is because it's a test ...
alelom's user avatar
  • 3,267
0 votes
4 answers
292 views

From Git - git-stash Documentation: A stash entry is represented as a commit whose tree records the state of the working directory, and its first parent is the commit at HEAD when the entry was ...
0 votes
0 answers
26 views

I started a complicated rebase, it'll take hours. However, we asked me to do a little fix on the develop branch. Is is possible to stash my ongoing rebase so that I can do the little fix an come back ...
Juh_'s user avatar
  • 15.8k
0 votes
0 answers
50 views

On Windows working with C# files I think what may be happening here is that in the local index the file has LF line-endings. So even when git restore myfile or git checkout myfile git immediately ...
3 votes
1 answer
84 views

I am trying to find what the modification a particular stash, say stash@{1}, made to a file. I tried using the command: git stash show -p "stash@{1]" -- {filename} but got the error too ...
Yash Verma's user avatar
-1 votes
4 answers
526 views

I'd like to pick some commit from the history and load its changes to my stash, just to use it freely anywhere. Is it possible? Edit: thanks for your answers, maybe I'd add that I hoped for some way ...
1 vote
2 answers
76 views

I ran git stash pop and got some conflicts. It's a similar experience to conflicts from a rebase or merge, and I've been resolving them. I don't really understand what flow I'm supposed to be ...
Stephen's user avatar
  • 8,985
4 votes
2 answers
120 views

The following has happened a couple of time and I'm looking for an automated way to catch myself before I repeat the mistake. Solutions saying "just remember" or "just don't do that&...
beyarkay's user avatar
  • 1,173
0 votes
2 answers
237 views

I'm using git stash push -a in a script to save uncommitted changes and then sometime later run git stash pop in the same script to restore the stashed changes. I've run into a problem in which git ...
1 vote
1 answer
77 views

I want to stash my changes, but I often have temporary stashes that accumulate, which I want to delete. I also have important stashes, so "drop all" isn't an option. Deleting stashes one by ...

15 30 50 per page
1
2 3 4 5
...
48

AltStyle によって変換されたページ (->オリジナル) /