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
-1
votes
1 answer

Git: How to make a multiple commit revertible?

I usually try to squash all commits that belong to the same feature addition on one commit. One of the reasons of doing this is to make easy to me (and my team) to revert my feature quickly and cleanly if necessary. But this prevents me to divide…
fguillen
  • 36,125
  • 23
  • 149
  • 210
-1
votes
1 answer

Excel "Forgets" revised linked values

My question is about issues with linked formulae in Excel spreadsheets. I have a complicated structure of linked Excel Spreadsheets updated each month for Financial reporting. The problem I have is that I will often update the values in source…
Kieran
  • 1
  • 1
-1
votes
1 answer

Can I restore a modified removed file with Mercurial?

I was deleting some files, but I also deleted a modified file that I hadn't done the commit yet. Is there any way to restore this file? Mercurial has deleted the local file too.
james watt
  • 175
  • 1
  • 12
-1
votes
1 answer

How to revert changes to an uncommited file

I had a file the way I wanted it and committed it, then changes were made to it and not committed. There is no remote associated with the repo. How do I revert the most recent changes that were not committed?
CJ Jean
  • 971
  • 1
  • 8
  • 10
-1
votes
4 answers

Reverting back text()

Currently I am trying the following: By pressing button 'edit' it is changing all text within class .harms with a certain text. By pressing button 'revert' it should return the oldcontent to it's original state. Now I have two harms with both a…
-1
votes
1 answer

How can I commit reversal of last commit?

I've just created a huge commit. Now I want to commit the reversal of these changes. So basically I want to have the same files in my repo as I'll have after git reset --hard HEAD~1, but I'd like to keep the history of my changes, so create a new…
Daniel Stradowski
  • 3,466
  • 1
  • 12
  • 21
-1
votes
1 answer

How can I revert to a previous version of my app in git ...?

I use a push to deploy on a godaddy server. This strategy of course uses a checkout on each push to deploy the working directory to public_html. Can I ssh in to the server and just checkout different "points in time". I don't use branching. I mean…
cade galt
  • 3,843
  • 8
  • 32
  • 48
-1
votes
1 answer

How can I change the revert speed of a jquery draggable div

I have written a workable version of Solitaire using Jquery's draggable and droppable functions. To capture all the cards I'm dragging I drag the div they reside in. After the drop routine the div reverts to its original position on the board. …
Wade Bear
  • 1
  • 1
-1
votes
1 answer

Git: deleting the two first commits (with no history)

I already found answers about revert what will make a new commit, that didn't work for me (maybe I need clearer explanation) but then I found out that this will not delete the commits themselves/the history (what I want to do). Then I had a idea…
Sain Linkerty
  • 63
  • 2
  • 13
-1
votes
1 answer

How to undo a 'git push'

I am a complete neophyte with git If it is in any way possible for someone to screw something up or not know it, assume that to be the case :-) I added my changes, did a commit, and issued a 'git push origin' but forgot to append the branch. So…
John Oliver
  • 325
  • 2
  • 4
  • 11
-1
votes
2 answers

Revert files with only keywords changed in Perforce

Is it possible to automatically revert a file in Perforce if there are only keyword changes? "p4 revert -a" will revert only those file that do not have any diff, but is it actually possible to revert if diff is similar to: < @version $Id:…
mishik
  • 9,973
  • 9
  • 45
  • 67
-2
votes
2 answers

How can I revert commits by others in Git?

I want to revert the commit of other and also I am not the contributor to that library I am simply an assistant which have to do some changes in the git repository. Till here I clone a repository and the file which I have to revert I found that…
Ab Danyia
  • 69
  • 7
-2
votes
6 answers

Java string get latest 4 char reverse loop

I cannot figure how to obtain latest 4 char of string before zeroes String str = "41f1f3d1f10000000000000000000000000000000000" I want: d1f1 I've tried to revert string string than do straight loop public static boolean checklast4digit(String…
-2
votes
1 answer

vba function(button) to change a cell's value for a few milliseconds then revert

Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) sub changeto1quickly() range("C1").Value = 1 sleep(1) ("C1").Value= 0 End sub above works to change C1 to 1 then pause it then revert it to 0 so now I need to aggregate this…
Jon white
  • 11
  • 1
  • 2
  • 6
-2
votes
1 answer

How to remove/revert commited changes to local git repo

I've committed some changes to local git repo with command git commit -m "Change X" Question: Is it possible to revert/remove this change from local git and my working directory? I know I can use git commit ammend to rewrite this commit, but…
Pawel
  • 27
  • 9
1 2 3
37
38