• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is the f***ing NDA back, or why is no one talking about new stuff?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is the f***ing NDA back, or why is no one talking about new stuff?


  • Subject: Re: Is the f***ing NDA back, or why is no one talking about new stuff?
  • From: Marco S Hyman <email@hidden>
  • Date: Wed, 10 Jun 2015 13:07:13 -0700

> How does one roll back to a previous commit when using a Git repo and in Xcode?

Does it have to be from within Xcode?  At the command line it is a simple one
line command:

"git reset <commit>" or "git reset --hard <commit>”.  Without the --hard
option your working directory is left alone.  Everything done since <commit>
is thrown away and <commit> becomes the new head.   Don’t think I’ve ever
used it.

If you just want to undo some changes use git revert.  It adds a new
commit that is the inverse of the commit you are reverting so you have
complete history.   However, if you want to revert your tree to a version
that is many commits old you have to revert each commit since.

Marc
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Is the f***ing NDA back, or why is no one talking about new stuff? (From: Jens Alfke <email@hidden>)
 >Re: Is the f***ing NDA back, or why is no one talking about new stuff? (From: Quincey Morris <email@hidden>)
 >Re: Is the f***ing NDA back, or why is no one talking about new stuff? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Is the f***ing NDA back, or why is no one talking about new stuff?
  • Next by Date: Re: New error “Method override for the designated initializer of the superclass ‘-init’ not found”
  • Previous by thread: Re: Is the f***ing NDA back, or why is no one talking about new stuff?
  • Next by thread: New error “Method override for the designated initializer of the superclass ‘-init’ not found”
  • Index(es):
    • Date
    • Thread