Questions tagged [commit]
Questions about committing a transaction or "unit of work" to a database, application or version control system.
commit
3,391
questions
-2
votes
0
answers
23
views
Git - Sync main branch with develop
My develop branch is 2 commit behind Main branch. and I have to remove one unwanted code file from main branch so that main and develop will be same. what steps should I follow so that I cannot see ...
0
votes
1
answer
17
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 ...
-1
votes
0
answers
19
views
GitLab "revert" button on of the Merge Requests have bad title
We have upgraded to GitLab Enterprise Edition v16.11.5-ee
when we hit "revert" button on of the Merge Requests that was merged to our main branch. The title shows Revert "Merge branch......
-1
votes
0
answers
30
views
Looking to fix a broken Git repo
I got a pretty bad git repo, which I have been using for about 6 months.
This is a quick example of the git tree.
* 7a740f7 (HEAD -> e/translation/report, origin/e/translation/report)
* 8177bb6 (...
0
votes
0
answers
20
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
55
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
35
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
26
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
66
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
25
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 ...