3,375 questions
2
votes
1
answer
64
views
How to wait for replication at mariadb transaction commit?
I have a MariaDB cluster made with Galera and my clients use MaxScale with RW router.
I'm having an issue because the application has something this sequential steps:
Start trx1
Insert new record
...
0
votes
0
answers
16
views
Transactions not rolled back in FrankenPHP worker mode cause data loss after deployment — has anyone experienced this?
I’m running an application using FrankenPHP in worker mode. In one script, I use BEGIN TRANSACTION → SELECT → INSERT → COMMIT if certain conditions are met. But I forgot to call ROLLBACK when the ...
0
votes
1
answer
132
views
Show differences between commits with respect to a base
We use a common git strategy:
branch from main to a feature branch.
do commits in feature.
if main progresses, merge it to feature.
merge feature to main.
I want to view the changes that happened ...
0
votes
1
answer
45
views
Create commit from several files of another branch
Suppose I have a branch B1 that added files A, B, C, ..., Z.
Suppose I am at branch B2.
What I want is to get a subset of files (say A, E, I, O, U) from the latest state of B1 and create a commit in ...
0
votes
1
answer
114
views
Why on Azure DevOps after pull request on repo one appear 1 behind
Azure DevOps Repos, situation is really simple, we have
Branch Master ---+---+ Head
Branch Develop ---+---+ Head + ... + changes
After some commit on Develop, we create pull request from ...
-2
votes
1
answer
78
views
Visual Studio Code Source control not displaying files modified
I am trying to setup a React project in my laptop , cloning from a repository. Using VS code . Any files changed or added is not displaying on the source control. However only when made some changes ...
-1
votes
1
answer
52
views
There is one active patchset which is not merged to my Master....I want to merge that patch set to my local and don't want to affect remote [closed]
There is new version of 8 of my files which I have cloned , Those new 8 files are presented in a patchset which is not yet merged with the master,So I want to replace my old 8 files in local with that ...
0
votes
1
answer
48
views
Create a new branch from a commit online in GitHub?
I need to make a new branch from an old commit because I don't want the new broken code. I want to do it on GitHub online. That is, I don't have GitHub desktop and I can't get it because of work ...
0
votes
1
answer
97
views
Commit delay for MariaDB Galera cluster and MaxScale
I'm working in a clustered MariaDB database with Galera and MaxScale in r/w routing.
My question is if the commit command successful return implies a completed replication or not.
This is the scenario:...
0
votes
0
answers
46
views
System.Data.Entity.Infrastructure.CommitFailedException
System.Data.Entity.Infrastructure.CommitFailedException: An error was reported while committing a database transaction but it could not be determined whether the transaction succeeded or failed on the ...
1
vote
0
answers
48
views
JPA EclipseLink: UPDATE Not Executed After Committing Merges
Using EclipseLink 2.6.4 with JTA and the property eclipselink.persistence-context.flush-mode=commit.
The UPDATE in the database is not done when I'm trying to commit a transaction where several merges ...
1
vote
1
answer
3k
views
How to Use GitHub Copilot for Commit Message Generation
I am interested in using GitHub Copilot to help generate commit messages for my project. I have heard that it can provide suggestions based on specific commit message instructions. However, I am not ...
-5
votes
1
answer
99
views
Unnecessary files on GitHub Desktop [duplicate]
I'm Developing an MauiApp on my windows machine and on GitHub Desktop there are many unnecessary changes which are appearing .
these changes are related to bin/obj and other files ,Due to which it ...
0
votes
2
answers
116
views
Unable to update PR with a verified commit created by createCommitOnBranch
My goal is to generate verified commits, using GitHub's Graphql API. I created a test repository to validate the verified PR creation, and I see the GitHub Action generating the new README.md file. ...
-1
votes
1
answer
63
views
VS Code Local commits showing even after deleting them
the upper 2 commits are the problem
i tried doing what was answered on this similar question
i tried using chatGPT and doing commands like
git fetch --all
git reset --hard origin/main
and
git reflog ...
0
votes
0
answers
100
views
Gitlab contributor analytics across all projects
I need to see commits, merge request analytics or dashboard across all projects on Gitlab. I can see all of these analytics under analyze menu when I entered into the specific project. However there ...
7
votes
1
answer
2k
views
IntelliJ not showing diff in commit window
I use Windows and IntelliJ IDEA 2024.2.4. (Ultimate Edition)
I've been looking at all options and I do not find anything where I can change this behaviour... When I commit I see a window which does ...
-2
votes
1
answer
69
views
How can i find rebased commits in remote git repo
Now, i am trying to find rebased commits in remote git repo using Python.
I used Github api to find it.
The repository is huge, there are many contributors and branches.
In certain branch, finding new ...
1
vote
0
answers
59
views
How do I restore commit history for a specific file that has been renamed?
I am trying to move some files from one repository (source repository) to a new one (target repository), and I want to restore all the previous commits of those files into the target repository to ...
0
votes
1
answer
79
views
When a Raft leader with uncommitted changes is going to make the commit?
I was playing with https://raft.github.io/ with this situation, but have a big doubt about what is going on.
After a leader is elected, I make a request to it.
The leader send the append entry with ...
1
vote
1
answer
144
views
github main branch isn't asking for compare & pull request when i git push on local feature branch
I was working on my project and made a few changes on the feature branch#1. I did git add ., git commit -m "commit message" and git push on my feature branch#1, normally github would show a ...
0
votes
1
answer
365
views
Why is there no "update:" conventional commit? Should we always use "feat:" when updating? [closed]
I am learning the conventional commits. I am curious if we update some feature or a little of code patch, why don't we use "update:" in the conventional commits?
I have read that there is ...
0
votes
1
answer
297
views
I have duplicated commits after pull request, How can I get rid of this?
We're developing a web application with my friends. Whenever we commit into this repo, GitHub always duplicate commits. I don't want this to happen and I don't even know this is true.
I want to ...
-1
votes
1
answer
204
views
Remove old commit from github repo [duplicate]
I committed and pushed an access token that I removed later and pushed, but the old commit is there and whoever checks that commit can see it. How can I remove an old commit from the remote repository ...
0
votes
2
answers
1k
views
How to update a single database table in a separate LUW in ABAP?
I have a requirement in an existing production development to log errors. It needs to be done in multiple applications.
I created a table and called it in a method. I am calling a Function Module as ...
0
votes
1
answer
102
views
Django async aadd() not working on ManyRelatedManager models?
Recently I have been developing an app using Django ninja.
I want to add Group to user groups, and statement seems have no effect. It does not commit to db. I tried atomic, and all solutions but it ...
0
votes
1
answer
98
views
Git Log between tags show commits from another tag
I am executing a command to get a commits between two tags:
git log --merges '7.0.8'...'7.0.9' --oneline
Apart from commits that are between these two tags, I also receive some commit that was made ...
0
votes
1
answer
125
views
How to handle the git situation 'Your branch and 'origin/main' have diverged...'
Following is summary of the steps follows:
User A:
Clones the repo with one main branch.
Creates a new branch and commits a new file.
Publishes the branch and pushes the changes to the remote repo.
...
1
vote
1
answer
47
views
No commit history with git log --follow after renaming folder with different case
I've had troubles after renaming a folder Draft to draft on macOS.
The commands are below:
cd path/to/Draft
cd ..
git checkout main
git config core.ignorecase false
# git mv Draft draft # Failed ...
0
votes
0
answers
42
views
Is there any reason why some would want to rebase a branch and then merge --no-ff to force a merge commit?
From what I understand, rebasing essentially moves the base of your branch to a more recent (the most recent?) commit to make it seem like you branched off later than you actually did.
This makes it ...
-3
votes
1
answer
116
views
Pushing changes in Git: "Your branch and 'origin/master' have diverged"
Following this tutorial, I created my own jekyll website hosted by github. I used a different template, namely this one, however. I forked this template, installed git, and cloned the repository into ...
0
votes
1
answer
425
views
Long time commiting file Intellij IDEA
I'm have one update file in project. But it's very long time updated. Antivirus windows deactivated. What could be the problem? Intellij IDEA Community.
I'm try off my antivirus and reload Intellij ...
0
votes
0
answers
35
views
When do I need COMMIT in Oracle Transaction [duplicate]
In Oracle below code creates Transaction.
But different tutorials say that you also need COMMIT at the beginning and the end.
What is the purpose of this COMMIT when it changes nothing.
What might be ...
-1
votes
1
answer
1k
views
How to find all the commits of an organization in github?
Currently now github allows me to find the commits of a repo but in an organization there are many repos using this below
https://api.github.com/repos/OWNER/REPO/commits
I want to find the total of ...
-2
votes
1
answer
60
views
I want to use git add and git commit for large scale projects [duplicate]
Ok so i have been wondering is there any way to make a command according to my desires for example
This is for large scale projects
"I want to commit/add all the files except this(files 1) this(...
1
vote
1
answer
2k
views
How to configure GitHub Desktop to use multiple user accounts?
I am trying to add a second GitHub account to GitHub Desktop. I'm able to add a second account to github.com and easily switch between them, but there doesn't seem to be a simple way to do this in the ...
0
votes
0
answers
59
views
The commit-received hook is not displaying the list of committed files
"We have configured a Git server with Gerrit, and the Gerrit version is 2.16.28.The gerrit installed in linux server.Currently, we are committing projects from Eclipse using Windows OS. Now, the ...
0
votes
0
answers
59
views
pycharm changes automatically turned from blue to white and cannot commit
when I edit my code, the name of the code changes from white to blue. when I try to commit, it says "no changes detected". The file name changes automatically to white.
Thanks
I tried to ...
0
votes
1
answer
77
views
How to remove specific file from sync or commit to github in VScode? [duplicate]
I am kind of new to modular programming and to git. I am working on a project in which I connect to the Kaggle API and download datasets. I ran the code and the specific dataset (*.csv) appeared in my ...
2
votes
1
answer
111
views
Python Gitlab API get users by whether or not they have made a commit
At the company I work at we are trying to get a list of who is a developer in the company, but we need to do this based on whether or not the person has made a commit to GitLab rather than their ...
-1
votes
3
answers
558
views
How can I undo two past commits keeping all the subsequent changes using git?
I have a Visual Studio solution that includes 12 projects. The code is hosted on Azure DevOps using git. I'll admit I'm not an expert of git.
I've created some branches from the "master" ...
-1
votes
1
answer
45
views
"Git commit error: Title cannot contain 'git commit error'"
PS C:\GitHubRePo\noting> git commit -m 'dsddssd'
On branch main
Your branch is up to date with 'HelloWorld0328/main'.`
Changes not staged for commit:
(use "git add <file>..." to ...
1
vote
1
answer
62
views
Remove very old commit that added a contributor to my repo
Almost 10 years ago I was playing with a bot (waffle.io to be precise) in my repo. It pushed a single commit adding a badge and I quickly stopped using the service and the badge.
It bothers me that ...
0
votes
1
answer
353
views
Can't merge 2 branches in github: There isn't anything to compare
I created a repository with the main branch and when I was about to push the code I accidentally created another branch - master. Now, when I try to merge the 2 branches I get the message:
I also get ...
-1
votes
1
answer
82
views
why git isn't committing the insertions?
I am trying to commit a file called "index.html" using git but git is committing just a empty file without any insertions even after I make sure the file have changes, this is the terminal ...
0
votes
1
answer
59
views
If there is a way to get commit log information online with out clone the whole repository?
There are many git repositories on my gitlab server, and I want to statistics their commit information. I have to clone every repository and run git log command within the directory. Its very slow and ...
0
votes
0
answers
34
views
Xcode commits (possibly outside of any branch) disappeared, how to get them back?
This could be something I overlooked, that the commit is not actually under any branch, and now it cannot be seen under Xcode -> Source Control navigator -> Repositories
The only place that ...
0
votes
0
answers
33
views
VS Code suggest me to upload all my user Data to github
Every time i open VScode a notiffication appears "The git repository at "c:\Users*****" has too many active changes, only a subset of Git features will be enabled."
i tried to use ...
0
votes
1
answer
124
views
GitHub Commits Showing Someone Else's Name (Incorrect Name)
Whenever I push my local commits to GitHub through VS Code, it displays a commit name (not commit message) that's not mine. I can confirm the account logged on my VS Code is mine, and the one on my ...
0
votes
1
answer
241
views
problem delete row in postgresql with commit [duplicate]
I have a table who make a lot of time to delete some rows (32000 record by country).
I create a function.
I split the delete and use Loop instruction and commit but i have an error when i execute the ...