Skip to main content
2 votes
1 answer
90 views

Environment: Local machine: Linux 16.1 Repository member: Visual Studio 2022 (Win11) Today I merged a team member’s PR into master. This member modified file B. After the PR, the master branch’s graph ...
Autopy's user avatar
  • 37
-1 votes
2 answers
127 views

Scenario: work... work... work... git commit -m "Step1" work... work... work... git commit -m "Step2" work... work... work... git commit -m "Step3" git pull # merge a ...
kan's user avatar
  • 29.2k
3 votes
1 answer
107 views

I have a private file that leaks into the repo, and I want to delete it. Here are the commits I suppose that it is first added: git log --follow --diff-filter=A --find-renames=40% --pretty=reference --...
Ooker's user avatar
  • 3,404
-2 votes
2 answers
61 views

Let's say I have the following text file: fruits.txt apple mango pear That's the state of the file as-is at the HEAD. The file was last altered 2 commits ago. Before that commit the file read: ...
Spring E. Thing's user avatar
1 vote
1 answer
46 views

I am trying to interactively rebase commits from the branch tmp/20241220-rebase-source onto tmp/20241220-rebase-target. The commits to rebase include a branching point and corresponding merge-commit (...
packoman's user avatar
  • 1,292
0 votes
3 answers
84 views

I have worked on a branch, and successfully merged my changes. After that I did another commit and want to merge it as well. However when I create pull request, it offers to merge the whole branch and ...
Nourless's user avatar
  • 956
8 votes
1 answer
253 views

I have the following repo: A--B--C--D--E--F--G--H--I--J \ K--L--M main -> J DEV -> M I want to squash the commits between B and E so the repo looks like ...
TSDrake's user avatar
  • 189
0 votes
2 answers
115 views

Case A new branch created for given requirement Adding changes as per requirement in the branch and Below commands executed every time we commit git add . git commit -m "comment" (...
bsethi24's user avatar

15 30 50 per page
1
2 3 4 5
150