Questions tagged [commit]
Questions about committing a transaction or "unit of work" to a database, application or version control system.
commit
3,387
questions
0
votes
0
answers
16
views
Cant push or commit to github repo using visual studio git
I set up my ssh and stuff, I set up my key and it shows as correct on github. When I cloned the repo it worked, but when I try pushing, nothing happens, and when I get:
Git failed with a fatal error.
...
0
votes
1
answer
47
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
34
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 ...
-1
votes
0
answers
25
views
VS CODE Update: Pressing ESC deletes my commit message
so about two weeks ago if i recall correctly there's been two updates to VS CODE, I noticed whenever I press ESC it will clear my commit message text that I just typed, I press ESC because the AI ...
0
votes
0
answers
29
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
65
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
33
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
24
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
43
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
votes
0
answers
27
views
Create a new branch with a couple of last commits with GIT [duplicate]
I have a feature branch with approx. 50 commits from a lot of developers. In this branch I committed 2 additional changes. Now I asked the developers if I should merge the whole feature branch into ...
0
votes
0
answers
47
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
19
views
JPA & PSQL: Allow commit in database-function
TL;DR:
I need a database procedure that runs entirely independent of the calling backend service and commits when finished.
I have a database procedure that might run up to several hours
create ...
0
votes
0
answers
23
views
Git blame in 2 branches shows same commit as responsible for 2 different values
I used two git blame views in Gitlab to show the history of a file in two different branches.
For a specific line, the last change points to the same commit in both branches.
The thing is: the lines ...
0
votes
0
answers
33
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 ...