Ycsoftware.net
Menu
  • Databases
    • MySQL
    • MS SQL Server
    • Foxpro
  • Programming
    • .NET
    • C#
    • Drupal
    • Java
    • PHP
    • Javascript
  • System Administration
    • Hardware
    • Linux
    • MAC
    • Virtual Servers
    • VMWARE
    • Servers
    • VirtualBox
  • Web Design
    • CSS
    • Flash
    • HTML
    • SEO
  • Other
  • Contact Us
    • About Us

Undo Stuffs with GIT

  • April 17, 2012

Modify your last commit (given no changes have been made )

git commit --amend
git add missing_file
git commit --amend

Unmodified Files

git checkout -- path to file

Unstage a file

git reset HEAD path to file

Undoing in GIT
http://book.git-scm.com/4_undoing_in_git_-_reset,_checkout_and_revert.html

  • Posted in: Other, Programming
Next Post »
« Previous Post

Search

Search

YCSoftware Recent Comments

THANKS!!!.. worked like a charm......
It works!...
THANKS! FIXED the problem I was having!!! :) openSUSE LEAP 15.0 m...
perfect, thanks much...
thanks a lot...
Love it bro that worked for me thank you...
Same error, but on Mac, any ideas?...
Thanks very much !!!...
Just testing...
Awesome, problem solved. Thanks man....

Tags

.net C# Centos 5 interest internet Microsoft Access Microsoft Office Programming technology thinker vmware vmware tools

Sponsors

YCSoftware
  • © 2025 Ycsoftware.net
Top