Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git how to correct accidental commit of password

git log --oneline -S <COMMIT_SEARCH_PATTERN>

# Copy the commit hash

git rebase - i <COMMIT_HASH>~1

# Change the marker to **drop**
# Exit from the editor

git rebase --continue
git push --force

# Of course - you have to change the password anyways.
Comment

PREVIOUS NEXT
Code Example
Shell :: batch wait seconds 
Shell :: mikrotik enable ping from wan 
Shell :: bash read file and output 
Shell :: how to install clementine music player on ubuntu 
Shell :: django test env 
Shell :: calculate folder storage in command line 
Shell :: berew install skype 
Shell :: git: Download specific file from Github website 
Shell :: wget every ipv4 
Shell :: gitexplorer 
Shell :: jq print all fields except 
Shell :: linux ubuntu "jetson Nano" disable ufw firewalld 
Shell :: installer robot 3T ubuntu 
Shell :: scp linix folder 
Shell :: git sync trunk with gh-pages branch 
Shell :: gitlab ssh two factorn recovery 
Shell :: How to create or generate secret key for django using UUID 
Shell :: sed replace specific character position 
Shell :: how to take a screenshot of the login or lock screen in ubuntu linux 
Shell :: install eb cli mac - Install pip with the script that the Python Packaging Authority provides. 
Shell :: wsl how to mount make usb accessible 
Shell :: nx scaffolding 
Shell :: how to run gnome calculater master code 
Shell :: Create temporary Environment Variable 
Shell :: node-red-contrib-influxdb 
Shell :: kubernetes remove taint 
Shell :: best ubuntu torrent downloader 
Shell :: xargs column cut linux 
Shell :: test(abc,def); = test(test1,test2); 
Shell :: drush user login 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =