Skip to main content
0 votes
1 answer
88 views

I have the following git diff for Python code: @@ -520,7 +520,7 @@ class AreaManager: self.broadcast_ooc( f"[{client.id}] {client.showname} ({client.name}) is GM in this hub ...
user27575278's user avatar
3 votes
4 answers
127 views

Say I’ve been staging changes using git add, but then realize that there is some small change—consisting of a single hunk, let’s say—I should commit separately before committing the staged changes. ...
Olius's user avatar
  • 301
0 votes
0 answers
80 views

If I do the following: git config diff.algorithm patience git add -p then git add -p forms its diffs using the patience algorithm. Is there any way to force git add -p to use patience as a one-off ...
LSpice's user avatar
  • 140
0 votes
1 answer
69 views

I work in C# with Unity, and it often touches a lot of files that don't want to commit. My changes that I want to commit are almost always exclusively .cs files. I created a git alias to stage all of ...
Nic Foster's user avatar
  • 2,904
0 votes
0 answers
42 views

I need to reset all uncommitted Git changes while working in a local Git repository. I'm using this answer to the 12 year old Unstaged changes left after git reset --hard question in a Python script ...
Geoff Alexander's user avatar
1 vote
0 answers
127 views

In git, I usually prefer to not use the staging area very much, and just work with my working tree. Call me crazy, but I don't get much use out of this extra step before committing, etc., of adding ...
Mark's user avatar
  • 2,046
0 votes
0 answers
50 views

I am using git version git version 2.20.0.windows.1 I have problem with adding *.txt files. I have created a project. There was only PCB files. At the beginning. I have commited it. Then I have ...
zulunation's user avatar
-2 votes
2 answers
3k views

I am working on the main branch updating some files but not the ones on the list below, however whenever I run git status I get the message below with the files highlighted in red which suggests there ...
learner's user avatar
  • 1,099
3 votes
2 answers
78 views

I have some Laravel/Livewire files matching filename patterns like seen in below: app/Livewire/String1Table.php app/Livewire/String1s.php app/Livewire/EditString1.php app/Models/String2Table.php app/...
Vicky Dev's user avatar
  • 2,243
1 vote
0 answers
63 views

During git add interactive, is it possible to automatically split the hunk (where applicable)?
algonell's user avatar
  • 185
-1 votes
2 answers
3k views

$ git push fatal: bad boolean config value 'origin' for 'push.autosetupremote' I want to push in git but an error appears as above im using new version git I hope to be able to git push some of my ...
bahaskoding's user avatar
-1 votes
1 answer
101 views

I'm getting this warning anytime I try to git add . all my file in my folder: warning: in the working copy of 'calculator-app-main/.gitignore', LF will be replaced by CRLF the next time Git touches it ...
kehinde oluwaseun Emmanuel's user avatar
0 votes
1 answer
308 views

I have 2 files locally: File 1.txt and File 2.txt. When I stage the files with the command git add File 2.txt, it is giving me the below error: fatal: pathspec 'File' did not match any files
VivekAnandChakravarthy's user avatar
0 votes
1 answer
429 views

When I try to add files to a commit group I get an error. Command: git add . Error: fatal: src/python/files/mytest.pax added file untagged, set correct file tag git —version: git version 2.3....
user avatar
3 votes
0 answers
85 views

I've started reusing git add -p as a building block for other situations where it's nice to have an interactive interface to accept/reject/edit changes. It's profoundly useful! The biggest win for me ...
mtraceur's user avatar
  • 3,845

15 30 50 per page
1
2 3 4 5
24