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 "git checkout --" to get local changes back

By mistake I ran git checkout -- and all local changes are gone. I can't see anything when running git log. How can I get all local changes back?
murtza gondal
  • 997
  • 2
  • 12
  • 26
0
votes
2 answers

How do I revert Git changes that I haven't committed?

I'm using git on Mac OS X. How do I revert changes to a file? The changes aren't committed yet. I tried localhost:myproject davea$ git checkout -- .gitignore error: pathspec '.gitignore' did not match any file(s) known to git. The above error…
Dave
  • 15,639
  • 133
  • 442
  • 830
0
votes
1 answer

Revert everything you did in github

So, here is a situation. I wrote a lot of code and by the end of the day wanted to commit all that. The branch situation was such: master working_branch* What I did after that was: git branch 11_11_2018 git add everything git commit -m "msg" git…
0
votes
0 answers

Cannot get back the initial query performance after DBMS_STATS.GATHER_DATABASE_STATS and DBMS_STATS.DELETE_DATABASE_STATS

Here's what happens: 1) I run some query that is not optimized very well - it executes in 16 seconds (averaged stable number after 10 test runs); the execution plan says - dynamic sampling used for this statement (level=2), so it does not have stats…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
0
votes
2 answers

reverting to an earlier commit and merging with the most recent commit in Git

So for example i have this history: commit 1a7cab6c279f5528871cd0ab8dae55319ff81fc0 Author: unknown Date: Thu Mar 10 20:11:39 2011 +0800 Changes to login style, will based the admin on this. version-1 commit…
David
  • 4,235
  • 12
  • 44
  • 52
0
votes
1 answer

jQuery UI revert events

I'm looking for a way to revert an element to its original size and position as soon as it leaves a certain droppable. Essentially, what I have is selection of images that you can drag into a droppable area and resize, but I want to be able "put…
HWD
  • 1,547
  • 7
  • 36
  • 72
0
votes
2 answers

xen-hypervisor - right way of snapshot and revert

I have an CentOS 7 with xen-hypervisor 4.6.6. I manage the VMs from cli with xen-tools (xl, etc). The VM disks are managed with LVM. I would like to create snapshot of VM and revert if needed (eg.: in case of failed system update). Please tell me…
Xcross
  • 3
  • 3
0
votes
1 answer

Mercurial hg revert brought back old files

I've been working on a big project to update a large codebase for a client. They use Mercurial as their VCS. As usual, I branched off their master branch at the start of the project. As part of the project, I've deleted 250+ files in various parts…
joshinda
  • 13
  • 4
0
votes
1 answer

Way to revert Chinese/Korean text converted to seemingly random characters in Excel sheet

I recently received a spreadsheet from a coworker with a global listing of articles associated with some key metrics we are tracking. Unfortunately, all titles that were in Chinese or Korean were somewhere converted to seemingly random characters…
0
votes
1 answer

Why doesn't the tabwidget remain modified?

In android I have an TabActivity (A) in which I create a single tab called loading with the Activity B. From Activity B I modify the TabWidget from TabActivity A to add some more tabs via a static reference to the TabHost in TabActivity A. After I…
Auras
  • 7,556
  • 3
  • 25
  • 23
0
votes
0 answers

A previous git revert is deleting files in a new merge

A colligue of mine merged a feature branch into our main development branch. I did a revert on that commit. Now I want to merge the development branch into the feature branch, but git deletes all the new files in the feature branch. I guess this is…
Mohamed Haidar
  • 89
  • 1
  • 10
0
votes
3 answers

stucking with git when working on ruby on rails, can't undo tables (models) created even after revert commits

first I have my application and I'm on master, I created a branch called "one" and I switched to it. I wrote some code then commited it, then I created a model called "category" and commited it now I don't want this table to exist no more, so I…
ELTA
  • 1,474
  • 2
  • 12
  • 25
0
votes
2 answers

Git: How to point to a previous commit without losing current commit?

I use git in a fairly linear and basic manner, but I ran into an issue that I rarely run into and I am unsure of how to fix. I committed something too early in one of my branches. It will get launched soon, but I am not ready to have it launched…
aCarella
  • 2,369
  • 11
  • 52
  • 85
0
votes
0 answers

With jquery UI drag and Drop feature, reverting the dropped element based on some condition

$(function(){ $(".item").draggable({ revert:"invalid", revertDuration:"900", appendTo:'droppable-container' }); $(".droppable-container").droppable({ drop:function(event,ui){ …
0
votes
1 answer

Delete a Branch That Comes With Other Merged Branch

I have 3 branches; A: Main branch that we use for testing. B: The branch that has changes those must be in A branch. C: The branch that has changes those must NOT be in A branch. So, while I was working on B, I merged C into B and continued to…
Gogo-the-Cat
  • 57
  • 1
  • 11