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
0 answers

GitHub: Reverted a bad merge to master, but merged files are still present

In GitHub, I accidentally merged the wrong branch into master. (probably from a slip of the finger when selecting from the dropdown) The merge was completed and pushed before I realized my error. I've looked at: Reverting a bad git merge from…
MarkTO
  • 247
  • 2
  • 11
0
votes
1 answer

revert error in solidity

function transferOwnership(address _new) onlyOwner { address oldaddr = owner; owner = _new; TransferOwnership(oldaddr, owner); message is revert The transaction has been reverted to the initial state. Note: The constructor should be…
0
votes
2 answers

git revert affect in the history

in the following image, when I git revert changeA, does my head stay at its original place and I have all the changes except for changeA? Or I will loose all the changes from A to head and my head will be reset to the children of A ? Sorry for the…
user1836957
  • 427
  • 2
  • 9
  • 24
0
votes
1 answer

Accurev undo a revert to basis

In Accurev I have accidently purge a stream by doing a revert to basis while trying to pull the latest from the stream. This removed all the files within the stream. Is it possible to undo it? and how?
kennyT07
  • 65
  • 1
  • 1
  • 6
0
votes
1 answer

How to undo a non recent commit on Git

Suppose that I have in master this log : commit 6 (head) commit 5 commit 4 commit 3 commit 2 commit 1 And I want to undo commit 3 so that I will have this log : commit 6 (head) commit 5 commit 4 commit 2 commit 1 If I do this with revert…
sciderlive
  • 33
  • 1
  • 5
0
votes
1 answer

Backing out bad PR merge on GitHub

I've got a GitHub repo that loosely follows git-flow. There are two long-standing branches: master and develop. Two feature branches (feature/one and feature/two) that were cut off of develop some time ago. PRs were created for both of these two…
smeeb
  • 27,777
  • 57
  • 250
  • 447
0
votes
0 answers

Unity Collab: What happens if I go back to a previous version of the project and make a new commit?

I am using Unity 2017.2.0f3 and am currently working on the most updated version of my project. However the changes I am working on wont be in the latest version of my app once the updates are published, so I'm going to have to go back to a…
fourthking
  • 321
  • 1
  • 4
  • 19
0
votes
2 answers

Can I create new branch from commits prior to merge

I have three branches: master frontend-updates new-checkout A developer made a number of commits in frontend-updates that were ready to be merged into master. However, before merging into master he merged new-checkout into frontend-updates and…
tylersDisplayName
  • 1,603
  • 4
  • 24
  • 42
0
votes
2 answers

Git revert commit from master but keep in develop

I have a unfinished feature developed in master so I cannot deploy to production because of it. So what I did was to create a develop branch from that master branch and then on master revert the last commit. Now my question is, when I finish the new…
0
votes
4 answers

Easiest way to bring back a previous commit point to the top in Git

Ok, here is what I want, very like Going back to certain previous commit and not modifying git history: Suppose my git log is like this: detour C detour B detour A Last good point I want to revert to "Last good point", while still keeping the…
xpt
  • 20,363
  • 37
  • 127
  • 216
0
votes
1 answer

Revert Xcode project without commit

I might have wasted a lot of time. My commit wasn't working because of some warnings saying something about CLRF to LF. I was looking for a fix and I did $ rm .git/index $ git reset --hard HEAD Following an answer here, it being in the morning, not…
Bram-N
  • 426
  • 4
  • 15
0
votes
1 answer

Reverting a git merge that had merge conflicts which were resolved during the merge and which has been pushed to the remote

I've a master branch in which there is a file Demo.txt. It has the following 2 lines: AAAAAA BBBBBB A new branch Dev is branched off from the master at this point. The branch Dev now contains Demo.txt with the same 2 lines i.e…
col
  • 23
  • 5
0
votes
1 answer

Reverting to VM snapshot for multiple VMs

#Connect-VIServer 10.222.111.21 –User root –Password Welcome2world $VMs = Get-Content 'C:\vmscripts\vmlist.txt' $snapname = 'BaseOS' Get-Snapshot -VM $VMs -Name $snapname | Foreach-Object { Set-VM -VM $_.VM -Confirm:$false } The above script…
Anil
  • 39
  • 1
  • 3
0
votes
1 answer

Android Studio run

All started when I saw this two messages saying something about missing platforms and pluggins. I selected all the plugins and I clicked on install plugin from disk. Now the buttons have become disabled, they are no longer green and my project file…
kscs
  • 3
  • 2
0
votes
1 answer

Mercurial - update an old commit, revert some changes and return to head

I'm using Mercurial and TortoiseHG and basically I want to revert to version 298 (currently on 315) revert some erased files and put my self back again on version 315 but without losing information regarding recovered files. Is this possible?