Skip to content

crilleengvall/GitUndo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitUndo

Git extension with easy to remember undo commands
GitUndo on Github pages

Installation

You need to put the file git-undo in the correct path. After that is done, the extension is ready to use.

Start by downloading the repo

Mac/Linux

Copy git-undo file to /usr/local/bin with terminal:
cp <path-to-file>/git-undo /usr/local/bin/

Windows

Copy the git-undo file to your git installation folder: C:\Program Files\Git\mingw64\libexec\git-core
or
C:\Program Files (x86)\Git\mingw64\libexec\git-core

Usage

This extension currently has three new commands.

git undo commit
This will undo the latest commit, but the changes in that commit will be left staged.

git undo stash-apply
if you've done a git stash apply, but didn't mean to you can use this command to undo the apply.

git undo pushed-merge <merge-commit-hash>
This will undo a pushed merge. run a git log to get the commit hash.

GitUndo logo

About

Git extension with easy to remember undo commands

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages