DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
remove a file from a commit
git reset --soft HEAD^ git reset HEAD path/to/unwanted_file git commit -c ORIG_HEAD
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#file
#commit
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit