|
Chris Losinger wrote: git reflog
What??
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
I tried command line git commads and I get back 'Git not found'. Git is installed and the paths to it are in my environmental variables
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
This will rollback the last 4 commits back to the staging area (from committed to staged):
git reset --soft HEAD~4
This will rollback the last 4 commits back to the working tree (from committed to unstaged):
git reset --mixed HEAD~4
You could also use --hard if you wanted to just nuke everything back to a point (you'd lose the files rolled back though). Luckily it seems like the problem is still local, so reset should be safe from the perspective of the remote's history.
git revert probably didn't do what you wanted because it doesn't "rollback" in the traditional sense. It creates a new commit that reverts the specified commit but does not alter the history. So if the problem is a file in a commit that's causing an error, that file will still be in the history, still causing the problem.
Here's some reading for further options to check out:
Git - Undoing changes | Atlassian Git Tutorial
|
|
|
|
|
I tried command line git commads and I get back 'Git not found'. Git is installed and the paths to it are in my environmental variables
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Other than suggesting re-installing it, I'm not really sure what I could do to help with that. I don't know your system, configuration, etc.
|
|
|
|
|
in visual studio 2019, you need to go to "view --> manage git branches" right click the last good commit and select revert -> hard delete. this will delete/remove all commits "above/after" the one you selected. see instructions below. I think they describe the process more accurately.
I am not looking at visual studio right now, so I may have some of the label text wrong but the actions are correct.
The Git experience in Visual Studio 2019 | Microsoft Docs[^]
I have to do this every so often myself. fairly simple process.
I don't muck around with git commands, but some of my friends do. you can do this process either way: gui or command line.
also, you really need to comment your commits well, if you are not doing this. they help identify your commits better. you can always right click a commit in the list and view commit details to be sure.
|
|
|
|
|
Slacker007 wrote: In visual studio 2019, you need to go to "view --> manage git branches" right click the last good commit and select revert -> hard delete. this will delete/remove all commits "above/after" the one you selected.
I have tried this multiple times and it seems to have no effect. All commits are still there... except now the Revert link is disabled for the last good commit. The commit(s) I'm trying to get rid of are still there and when I push, the all are pushed - which errors out
See this pic
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Thanks for the pic. It actually helps.
Yeah, that is both interesting, and frustrating for you, I am sure. I am not entirely sure why this is not working for you.
It is not ideal, but you could copy your current local repo to a temp folder and then create a new branch off of master and copy over your current changes (in the temp folder) and commit and push.
then just delete the "bad/difficult" branch once you successfully pushed your changes to the server and merged to master.
I have done this a couple times in the past and it works. Again, not ideal, but it works.
|
|
|
|
|
Well now that I posted, it's fixed! The latest revert seems to have done it
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
I'm used to take a look with Google streetview first before taking a trip somewhere, but sadly this is not possible in Germany
The reason why is explained here: Totalitarian traumas - Big Think[^]
|
|
|
|
|
I thought it was because everything is a blur at 120 MPH.
|
|
|
|
|
Americans need to take a huge lesson from this aspect of German culture. We give way too much away for "freebies."
|
|
|
|
|
obermd wrote: We give way too much away for "freebies." Unknowingly or on purpose? Are we putting too much trust in app developers? Knowing that information is worth more than all of the gold in Fort Knox, companies will do anything to obtain and retain any and all information.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
it is really surprised to hear this news
diligent hands rule....
|
|
|
|
|
Nie Wieder Faschismus; that wasn't invented for privacy.
The explanation, is crud.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I did just the same in the past years before going to project meetings and had no problems with StreetView at all , at least for Berlin and Köln ... I am confused ...
|
|
|
|
|
You are right Berlin has streetview, but as soon as you click outside the city perimeter ... no streetview
|
|
|
|
|
I can understand if street view would be done in places of interests, monuments and places of turistical value...
but I live in a residential area near the borders of a 25k people town... can you explain me, what big value would give you a street view of my neighbourhood where you could see my house from the walker perspective?
I am not even german, but I still agree and think that this kind of close sight is not anyone's ing business.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
You have a point, and the Germans too, it is just that I was surprised that streetview is not available in Germany, as in the Netherlands we take it for granted. As with all technology I guess it can be used for good or not so good purposes
|
|
|
|
|
I've had enough "fun" with delivery driver fails over the last year and a half, that I think integrating streetview into Doordash, etc would be a killer app. Bonus points if they'd let me add a custom annotation to indicate which door on the building is mine.
Other things I've used it for before include:
Doing virtual drive bys of places I've never been before (including friends/family members new homes) to find visual landmarks to supplement the GPS nav in my handbrain/make sure I'm going to the right driveway without having to slow down to a crawl to try and read house numbers as I go past.
Doing a look around of potential places to move to; checking for anything that the realtor/landlord wouldn't include in pictures because it wasn't flattering.
Answering "is that new"/"didn't there used to be something there" questions by looking at old pictures from a year or five ago.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
I don't say it might not be useful, I partially agree with your point.
But if something is not legal in a place... then, you better respect it or you might get problems.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
if it was illegal, they couldn't do it; once they added the ability to opt out it was legal. But they didn't stop taking pictures because of that - and the data they collected is still up - they just quit in a sulk when about 1% of German home owners in thei initial areas opted to have their properties blurred out.
I'm guessing the issue was less that they thought a 99% complete dataset wouldn't be useful than that they didn't have a scalable way to process the opt outs and it became too many to handle when stuffed into a human review system intended for the occasional bit of nudity/etc that leaked through their automated filters.
It's not that google couldn't've created an automated process to let people opt out either. It's just that their devs were more interested in creating new apps to be cancelled a year or two after launch when they parleyed their involvement in the Google Navel Gaze App into a very highly paid CTO job at a startup.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
Are you sure it is an opt OUT? it should be an opt IN if I am not wrong.
And yes, you are right, only because they are not posting the pictures it doesn't mean they are not taking them and processing them.
It is the same as with normal internet or Android. You can say what you want, they do what they want too.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
From the article:
Quote: Google automatically blurs faces and vehicle license plates and, upon request, the fronts of houses. Fully 3 percent of households in the relevant areas requested their houses to be blurred. Faced with that unprecedentedly high level of resistance, Google in 2011 published the data already collected, but left it at that. No new Street View images have been taken since in Germany.
If Google got opt in vs out wrong, after a decade I'm all but certain they'd've been repeatedly fined a few hours of profit until they changed it.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
Outside of your house is a public space. There is no promise of privacy in a public space. If you like walking around the inside of your house naked, close the curtains.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
|
|
|
|