If you want to just cancel commit, you can use this script bellow :
git reset HEAD~1
But if you want to cancel and discard all changes, you can add flag --hard, this flag will also make git discard all changes you made.
git reset --hard HEAD~1
Source : https://stackoverflow.com/questions/4850717/how-to-cancel-a-local-git-commit
. . .
selengkapnya>>
find /etc -type f -name "*.conf"
Source : https://askubuntu.com/questions/333710/how-to-find-all-files-with-the-same-extension-within-a-directory
. . .
selengkapnya>>cat /proc/net/bonding/bondX
where bondX is the name of your bonded interface, as:
cat /proc/net/bonding/bond0
Source : https://www.linuxquestions.org/questions/linux-networking-3/how-to-find-the-physical-mac-of-bonded-nics-452128/
. . .
selengkapnya>>This problem happen suddenly or at startup, apport-gtk using 100% cpu. This is could be ubuntu bug that could'nt parse crash file. To solve this, you can delete this crash file
rm /var/crash/*
source : https://askubuntu.com/questions/454187/apport-gtk-100-cpu-usage-on-startup-on-ubuntu-14-04-lts/472809
. . .
selengkapnya>>sudo find /var/www/ -type d -exec chmod 755 {} \;
sudo find /var/www/ -type f -exec chmod 644 {} \;
source : https://askubuntu.com/questions/722088/reset-default-permissions-for-var-www
. . .
selengkapnya>>