A *commit* is the "confirmation of a unit of work"
1
vote
1answer
15 views
Git revert is overwriting my files
Say I make a bunch of changes to my files locally, then add these changes to the staging index and then commit them. Then I realise that actually, I've made some mistakes, and I want to quickly undo ...
1
vote
1answer
19 views
svn commit files with tag - part of of the file name of each file
I'm trying to do the following: Search through a directory and find not committed files (new, added or updated) and for each file that is found to commit it with tag containing part of the name of the ...
1
vote
1answer
15 views
Bzr gui commit tool - is one there?
Is there a gui commit tool for bzr, similar to git gui? The most important feature for me would be ability to break edits into separate commits.
2
votes
1answer
12 views
Subversion and Netbeans - code formatting changes
I have a small, technical problem with commits. Namely, when I'm going to make some changes in file I used to make an auto code formatting before I start to do anything (I like to work with clean ...
2
votes
2answers
45 views
SQLAlchemy commit changes to object modified through __dict__
I am developing a multiplayer game. When I use an object from inventory, it should update the user creature's stats with the values of the attributes of an object.
This is my code:
try:
obj = ...
0
votes
1answer
18 views
How do I upload edited files in my SVN repository?
I am working with a SVN repository. I already have a local copy (i did a checkout). Now I edited some files in that repository and saved them. How do I transfer them to the server. Is it like GIT ...
0
votes
1answer
28 views
how to add subdirectory with libgit2
I need to commit all workdir, but I can't find any solution that can adds the subdirectories to the index.
I've tried with git_index_add_bypath() but it's seems to not add the tree for the ...
0
votes
1answer
59 views
+150
How to commit from command line only content changes not property ones?
Developer fixes bug in a branch created from trunk. Then I test the branch and reintegrate back to trunk.
Lately I am also committing property changes. There are three files that I commit back to ...
-1
votes
0answers
16 views
svn repository with hooks fail to commit
======Error log from Apache ==============
Could not MERGE resource "/sharedsolutions/!svn/txn/13-1n" into "/sharedsolutions/store". [409, #0]
Commit blocked by pre-commit hook ...
0
votes
0answers
9 views
What's going on with Crucible?
I'm using Crucible to create a review of a xml file I commited in Git. When I try to look at the file, I get:
New Version: Download revision [Long name of file that i supposedly revised]
I ...
-1
votes
2answers
42 views
What are benefits of having commit and push in git/mercurial
I found few answers on commit/push topic here in stackoverflow.
But, this answers are about difference in commiting and pushing in which I'm not interested.
My question is, why do we need local commit ...
0
votes
2answers
29 views
Git: How to reuse/retain commit messages after 'git reset'?
As Git user I regular come across the situation, that I need to rework one or more commits in a way which do not fit into --amend or rebase -iwith fixup commits. Typically I would do something like
...
1
vote
1answer
34 views
Keep a record of all deletes with a trigger, including rollbacks
Let's say I have 2 tables, EMPLOYEE and EMP_BAK. I need to create a backup table for all the data that deleted from employee, even these that are rolled back
My trigger:
CREATE OR REPLACE TRIGGER ...
0
votes
0answers
14 views
SQL 2005 Transcation : is .net transaction default to read commited?is this why can't read from table where insert is done until commit?
I set up a .net transcation where I inserted into Table1
then Updated Table2, then commited.
Immediately after the insert was done into Table1 (before the commit), I could not read from Table1 - it ...
0
votes
1answer
29 views
git: Remove some commits from the beginning setting a new root
I've worked on a new project in the last months and want to make it public on GitHub in the next days. I will therefore create a new repository. The current private Git repository contains about 400 ...
0
votes
1answer
42 views
Can you change a file content during git commit?
One of the things I keep in my open novel in GitHub is a list of words I would like to set automatically the first line, which is the number of words in the dictionary. My first option is to write a ...
0
votes
0answers
11 views
toad commit to oracle
When using Toad for oracle db. Sometimes an issue occurs such that
if you do an insert or an update and use commit button afterwards, it actually
does not commit until closing the toad application. ...
0
votes
1answer
16 views
How to create a table then commit then insert then commit and drop table?
Hi I am having a problem committing to a database. I am very new to Firebird SQL. But I have a query that creates a table, then commits it, then inserts it, commits it, view the data, drop the table ...
3
votes
2answers
54 views
A “Git” like workflow using Subversion?
In my previous team we used Git. I am used to performing small and many commits, that represent the ongoing progress of my development work.
When ready, i usually push changes to the central git ...
0
votes
1answer
29 views
Check each commit before it's commited on svn
I have a quite big project and i want to give some of the work to an indian company.
The project is hosted on a SVN Server, I want that one of my employees checks each commit of the extern developers ...
0
votes
2answers
13 views
Pass OracleTransaction value to new form
I have some stored Procedures on one form and at the end I do not commit or rollback. A new form loads and a question prompts the user "Are there any other products in the box?" When the user clicks ...
0
votes
2answers
47 views
How can I view what was added to a file in a certain commit?
I have a homework assignment in which I have to view the bootstrap repository. I have to answer this question "What single character was added to a file in commit e17c9 (ignoring any added spaces)? ...
3
votes
2answers
53 views
git - Commiting commits before other ones
New Question
Two querstions:
I'm trying to but a commit before ALL commits.
The bottom most commit has 660fb2a76211f36ec9a67d0454a90eab469e9fd0 as SHA. When I type git rebase -i ...
0
votes
1answer
27 views
Remove git history for distributing project for bug report?
My iOS app is having a strange core data bug, and I contacted Apple's developer technical support for help. They are asking me to submit a copy of the offending code, so they can see what is going on ...
0
votes
0answers
19 views
GIT merge with several targets in Xcode
I created a second target in my Xcode project and some images with the already existing names in the branding folder. Now if I commit the changes, push them to server and my teammate pulls them down, ...
1
vote
1answer
85 views
How to write a batch file for svn commit and update
so far I have used Tortoise SVN to commit and update folders under version control. When I commit I check "all" in the GUI dialog so that deletions as well as additions are committed.
Now I have more ...
-1
votes
0answers
24 views
SVN validation error with xcode + IOS [closed]
I am trying to commit files to my SVN through Xcode. However, I am getting following error:-
Error validating server certificate for 'https://rep.blah.com:xxx':
- The certificate is not issued by a ...
0
votes
1answer
31 views
How to tell when a user is making a tag vs a commit in Mercurial
I have a hook written for Mercurial. It uses the pretxncommit to make sure that the user includes an 'issue number' in their commit message. But sometimes the user may use the 'hg tag' command instead ...
0
votes
0answers
28 views
PHP + ORACLE - Managing transactions
I have script1.php and its code looks like below
$con = oci_pconnect(connection_details);
if(!$con){
//throw error;
}
$q1 = "SOME INSERT STATEMENT on EMPLOYEE TABLE";
$stid = oci_parse($con, $q1);
...
0
votes
4answers
44 views
setAutocommit(true) further explanations
I have come across this oracle java tutorial. As a beginner in the topic I cannot grasp why it's needed to set con.setAutocommit(true); at the end of the transaction.
Here is the oracle explanation:
...
0
votes
1answer
49 views
TortoiseSVN on Windows 8 can't commit
The situation:
I reinstalled my PC and installed Windows 8. I also installed the latest version of TortoiseSVN. My files are on another (Ubuntu) PC on my network, so windows sees that drive as a ...
0
votes
1answer
39 views
How do I get the SHA of the latest commit on a GitHub repository via jQuery?
I've been at this for several hours now and I have yet to find any useful information anywhere. I'm trying to use jQuery to get the latest commit of any GitHub repository from a single user to show up ...
0
votes
0answers
26 views
Netbeans: How to show all (git) commits than will be pushed?
How to show all (git) commits than will be pushed within Netbeans ? Netbeans 7.3 simply pushes everything without showing a list of all commits first (like IntelliJ IDEA does).
0
votes
1answer
31 views
Removing changes from one file in a commit
I have a private repo with a single commit on Github -- specifically for a Rails project. My schema file was changed along with migrations, and a fellow dev wants me to remove the schema changes from ...
0
votes
2answers
21 views
How to detect if a commit has been done on a remote SVN repo
So I have a SVN repo like svn://xx.xx.xx.xx/proj_name/trunk/.
I want to check it every 5 minutes if a new commit has been done on it.
my problem is not with the timing, but with the actual detection ...
3
votes
1answer
25 views
Copy commit comments to windows clipboard
I recently saw a nifty hack for ClearCase where the version number was added to the Windows clipboard as part of a commit. The hack look like this:
@rem = ' PERL for Windows NT - ccperl must be in ...
0
votes
0answers
23 views
How to delete the new commit and get back to the old commit in git repository
I have two repositories, I committed and pushed my code to other repository instead to the right one. Now I need to delete this push and get the original previous one. How can I do that? Thank you.
...
0
votes
1answer
66 views
Mysql commit sometimes takes minutes to finish
Ive been having this problem for over 1 week now. Ive allready gone though the similar problems other people had here on stackoverflow. Im running Mysql 5.6.10.
"query end" step very long ...
0
votes
1answer
20 views
Please help me understanding MySQL InnoDB Transactions
I'm trying to understand the locking mechanisms for InnoDB.
Let's say i have the following PHP script:
mysql_query('BEGIN;');
$a=mysql_query('SELECT id, status FROM testtable WHERE id=123 LIMIT 1 ...
0
votes
0answers
47 views
Is MySQL commit synchronous when executed from PHP PDO?
Using the PHP PDO interface to MySQL, suppose I have this code to end a transaction (assuming it was properly begun):
$pdo->query('commit');
When the function returns, have writes to the log ...
2
votes
1answer
46 views
Can git list the tags that occur between two particular commits?
Is there a way to get git to list all the tags that were added in between two commits? That is, only show me the tags that appear between point A and point B.
1
vote
1answer
59 views
Ember Data - re-commit current transaction
I have a button that submits the whole form to the server. Sometimes the server responds with errors and the users need to change/update the fields and submit again (common sense?). I'm using this ...
0
votes
1answer
43 views
Empty commit with Mercurial
Is it possible to do a commit without any changes in the current repository with Mercurial, like git's --allow-empty?
1
vote
1answer
52 views
intellij idea: how to disable pre-commit code analysis for Git-backed projects
I have a project in intellij, and I'm using Git/GitHub as source control. Each time I try to commit changes, intellij runs a lengthy code analysis and searches for TODOs. When it finds "problems," ...
-1
votes
2answers
42 views
git cant add . or comit or whatever with buged files
I saw a lot of questions in google like this but i cant figure it out what exactly to do.
Git status still display this files... and when i push files to remote github repo... not all files are ...
0
votes
1answer
19 views
SVN log details of uncommitted merge
I had recently merged my branch with the latest revision of the trunk. However, I did not commit at that time and do not remember with which trunk version I had merged. Currently, I need the trunk ...
1
vote
2answers
32 views
Must every git commit be an ancestor of a branch?
Given this git tree:
A <--- B <--- C (HEAD, master)
is it possible to put the tree into this state:
A <--- B (HEAD, master) <--- C
(There are no branches or tags other than master.) ...
0
votes
1answer
31 views
How can I commit my changes if I am working with a read only svn, in order to work with it on different computers?
I use SVN and I am working on a project which is read only. I would like to make my own modification of this code, but also get the official updates.
I am used to use svn for my projects and commit ...
0
votes
1answer
30 views
change an commited svn revision with sharpsvn
I have made an program that works can read out TortoiseSVN commits and shows it into listbox and a textbox.
Now I have to do this, when you press publish button then for each selected commit the ...
-1
votes
1answer
33 views
When should I commit and push in Test Driven Development? [closed]
My question regards TDD and when should I commit or push changes?
I'm wondering is it fine to push the code where some values returned by function are still faked or implementation is obvious to pass ...