Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git undo only a chunk

	Reset only chuncks from commit:
	git reset HEAD^ -- filename # (very important to specifiy the file, otherwise the commit is deleted…)
	git add -p -- filename. # To remove the lines you don’t want, replace the "-" symbol with " " (space) and delete the entire corresponding "+" line.
Comment

PREVIOUS NEXT
Code Example
Shell :: include nsis plugin in install.nsh 
Shell :: list all audio files with duration bash ffprobe 
Shell :: join two files horizontally unix 
Shell :: Disable all git advice 
Shell :: You must specify at least one graphical backend feature: "metal", "vulkan", "empty" 
Shell :: wireshark.msi install powershell 
Shell :: all sudo commands in ubuntu to be administrator 
Shell :: failed to write object git pull 
Shell :: bash awk remove one specific column 
Shell :: How to begin using MongoDB in Linux 
Shell :: webgl server 
Shell :: bevy clone 
Shell :: rename docker container 
Shell :: kubernetes get crd and their namespaces 
Shell :: grep files modified since yesterday 
Shell :: no of lines 
Shell :: how to shutdown linux from terminal immediately 
Shell :: grep -c flag 
Shell :: pylint install pi 
Shell :: windows 11 icons for tortoise git 
Shell :: team modify preffix minecraft 1.18 
Shell :: bash execute last command by keyword 
Shell :: 7.14 ES on linux installation 
Shell :: nuget system.web.http.webhost 
Shell :: create permanent shortcut command ubuntu 
Shell :: install oython on kali-rolling container 
Shell :: ncdu exclude 
Shell :: mac find command printf 
Shell :: sudo apt get app 
Shell :: how install gradel 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =