Questions tagged [revert]

Revert generally refers to operations that put a system, environment, or application into a previous state.

Revert generally refers to operations that put a system, environment, or application into a previous state.

559 questions
0
votes
1 answer

How to revert part of a commit?

There is a commit, pushed etc in the history of our repo. I have the SHA, and I would like to run the equivalent of git revert /one/folder/* THESHAID, but git revert doesn't look like it has the ability to change only a specific folder. Is there a…
Damon
  • 10,493
  • 16
  • 86
  • 144
0
votes
0 answers

git: Reverting changes of staged file

I had the following scenario: I have my local branch and committed changes to the local branch. Say my local branch is tracking the master branch from repository. local ---> origin/master Consider the file as a/b/c.d I have modified contents of…
gudge
  • 1,053
  • 4
  • 18
  • 33
0
votes
1 answer

how could I go back to a specific revision in mecurial?

I have 4 changesets and I want to return to Revision 2 and cancel revisions 3 and 4. is this possible? and what is the command to type?
user2969259
  • 13
  • 2
  • 6
0
votes
2 answers

"git reset --hard" command and "git clean -f" not setting staging area like most recent commit

I cloned a repository, toyed around a bit and (oops) made a mess of my code. Now I just want to revert to a clean clone of the repository code and start over. I attempted to use the following from the terminal of the working directory: git reset…
Shawesome
  • 55
  • 11
0
votes
1 answer

Can we revert a last git pull on my local machine only?

I have pulled data from a shared repository, but seems to be some errors on the remote. I can not fix his errors and commit back the code. I want to revert my code before pull and work on the feature on which I was working on. Doing only git revert…
Laxmikant Ratnaparkhi
  • 4,745
  • 5
  • 33
  • 49
0
votes
0 answers

SVN revert just my changes on Eclipse

I used Eclipse and just want revert my(old my changes) changes. Please any one can help. I am new to use Eclipse and SVN...
DAVE
  • 31
  • 6
0
votes
1 answer

Git revert push to the previous push

I did a mistake that is explained below: I was on the branch feature5 which was around 200 commits forward compared to master, I created a local branch documentation from feature5. (I forgot I wasn't on master) Then, I committed and pushed…
Vadorequest
  • 16,593
  • 24
  • 118
  • 215
0
votes
1 answer

DB2 and Reverting last update table

I just accidentaly updated a whole table, I set a column value without a where, and now, 80 registries have that value :s, is there a way to revert that? I don't want to be murdered by my boss.
0
votes
2 answers

Undo SVN 1.6 mistake via command line

I'm using Mac OS X terminal for SVN. I'm very amateur when it comes to SVN and command line. I'm typically just a front-end code monkey. I've accidentally, somehow, committed some branches of our project inside another branch of the project while…
Randy Hall
  • 7,716
  • 16
  • 73
  • 151
0
votes
1 answer

Restoring removed commits in SVN

I've removed a commit from trunk, for example commit 100: svn -r 100:99 . and I've committed the change so that revision 100 is no longer in trunk. Is there a way to put revision 100 back into trunk?
ContextSwitch
  • 2,830
  • 6
  • 35
  • 51
0
votes
1 answer

Reverting in Git to a specific point

I have a branch called: myBranch It has a bunch of changes on it on checking into the server. The revision I want to go back to is: 5b31ec198 What are the steps to get that from the server back to my local?
cdub
  • 24,555
  • 57
  • 174
  • 303
0
votes
1 answer

Revert svn files by file pattern

I'm trying to find a command (can be bash command) to revert a group of svn files. Let's say I have some changes in my check-out and I run svn st and get this output: My-MacBook-2:trunk aetzioni$ svn st M …
Avi
  • 21,182
  • 26
  • 82
  • 121
0
votes
0 answers

SVN checkout like revert with multiple external repo

I need some expert advice on this. I have repo or project in which 4 more external svn repo is linked. Say, the current revision of main project is 2500. The external project's of current revisions are for Ex-A 2100, Ex-B 2360, Ex-C 2410, Ex-D…
karim
  • 15,408
  • 7
  • 58
  • 96
0
votes
1 answer

SVN: 404 Error when trying to revert to previous revision

Some time ago I set up a debian svn server and so far it works without any problems. Yesterday I had some trouble with commiting some changes and wanted to revert to a revision some revisions ago, but this didn't work. This was the first time I…
tY Software
  • 264
  • 3
  • 10
0
votes
1 answer

Re Init() Zend Form after removing some Zend Form Elements

How can I Reinitialize already created Zend Form element object that had some of it's elements remove? $form = new My_Header() //My_Header class extends Zend_Form $form->removeElement('id'); $form->removeElement('first_name'); and after some lines…
vlatkorun
  • 127
  • 1
  • 15