Questions tagged [commit]

0 votes
1 replies
Python3: Does a call to pymysql.rollback() require a commit?
I'm using python3.6 and pymysql 0.7.11. The call to rollback rolls a transaction back, according to the documentation. A call to commit finali...
asked 4 months ago
0 votes
1 replies
Git Checkout - npm run watch - nothing changed
I've been working on a branch on a particular project for the past month and haven't performed any sort of merges to my master. Today, I went on...
asked 4 months ago
1 votes
0 replies
Multiple commits on single file [duplicate]
Possible Duplicate:How can I commit only part of a file in git How do I commit a few specific line ranges from a file to git? while igno...
asked 4 months ago
1 votes
1 replies
How to edit files during git commit diff in Android Studio?
In Visual Studio while committing a file to Git it is easy to edit files directly in the diff window: Now in Android Studio the diff window se...
asked 4 months ago
-2 votes
1 replies
Data getting wiped off from MySQL Database [closed]
I have a java swing application that connects to MySQL database and performs transactions perfectly alright. There are one-up numbers as well th...
asked 4 months ago
0 votes
2 replies
Git: Your branch is 1 commit ahead and 5 commit behind master?
I am working on a open source project.I first forked the project, cloned it into my machine and have made a change on the master branch directly....
asked 5 months ago
0 votes
0 replies
How to do 2 different database connection's commit at once in Perl DBI?
I have perl script which connects to 2 postgres databases and run some queries. For best practice I do not use auto commit. I have one transactio...
asked 5 months ago
1 votes
0 replies
Create git commit C that is the inverse of the difference of B and A
So, I have a git repository that I worked on for years in private. Basically, I only used one branch (MASTER), and git was basically like a journ...
asked 5 months ago
1 votes
3 replies
How do I commit my saved files on GitHub to a different branch?
Currently, the branch that I can commit saved files to is master. However, I want to commit my saved files to a different branch called "First-L...
asked 5 months ago
1 votes
1 replies
Change commit name - Github
I need to know how I can change this commit name: 1 Possible duplicate of How to change the author and committer name and e-mail of mult...
0 votes
0 replies
PDO Transaction returns error Uncaught PDOException: There is no active transaction in :55
My Connection file is like the following static public function connect(){ $link = new PDO("mysql:host=localhost;dbname=xx", "xx", "xx");...
asked 6 months ago
0 votes
0 replies
How can I make source compare colorful at commit files?
I am using eclipse 2018-12 color theme dark. At commit (alt + c) of php file is source compare black and white but at commit of javascript file,...
asked 6 months ago
0 votes
1 replies
More efficient way to use cursor loop, insert into and commit for each row (Oracle)
I writed something like this below (it works), but in my case for 1,5 milions rows it is not so effective as I need (it will run maybe 2 days) I...
asked 6 months ago
1 votes
4 replies
Git: Combining multiple commits into a single commit
I am working on a git repository where I do not have any merge write. There are large requirements which requires at least 1-3 weeks to complete....
asked 6 months ago
0 votes
0 replies
How to save changes of a docker container when you are in the container
When I run a docker container and have some changes I want to save, I only know one way: open another window and run docker ps copy the contai...
asked 5 months ago
1 votes
1 replies
How to set commit message template in Eclipse
Reading this article https://medium.freecodecamp.org/level-you-up-to-awesome-commit-messages-a85558cb90e8 I wanted to set my commit messag...
asked 5 months ago
0 votes
1 replies
How to calculate the percentage of contribution from each contributor to words the Code in the Git or Gerrit? [closed]
scenario is ... imagine a project development is going on, and lot of contributors are adding and editing the code... By making use commits and...
asked 7 months ago
0 votes
1 replies
After execute the rollback instruction, my table data wont go back
After i type ROLLBACK; the data in the table departments_dup didnt rollback. CREATE TABLE departments_dup ( dept_no CHAR(4) NOT NULL, d...
asked 7 months ago
2 votes
0 replies
Is there any way in Visual Studio to prefix comment while commiting?
From the screenshot below I want to prefix my comment to the changes including work item's id. So I expect to get this: TFS - 123: Want to...
0 votes
2 replies
Sql, check transaction committed, return value
I want to insert a new user (Email address) into a table of users. If successful (No duplicate), insert basic configurations for new user to othe...
1 votes
2 replies
How to commit deleted file changes in Intellj IDEA?
I have some file sample_file.doc which is visible in my IntelliJ IDEA. If I delete sample_file.doc file from the local folder it disappear from...
asked 7 months ago
0 votes
2 replies
Issue with gitbash to commit changes
I would like to commit some changes to GitHub from a local repository. I can't commit the changes and then pushing it to the remote repository....
asked 6 months ago
1 votes
1 replies
Undo git rebase skip on local
I did a git rebase HEAD~3 to edit some commit messages, however when I entered the interactive mode, it showed more than my last 3 commit message...
asked 7 months ago
1 votes
2 replies
Git commit does not work even if I add, it's saying “Changes not staged for commit”
enter image description here First I cloned the repository and changed the file. After I tried to add and commit but commit doesn't work I trie...
asked 6 months ago
0 votes
0 replies
What is happening in my Android app to cause it to lose data?
I have an android app. I have a few users who have a recurring problem: When the app shuts down, every file the app saved is gone. Every folder...
asked 6 months ago