If you have accidentally added the wrong file or didn’t add an important file to the last commit, you can either reset the last commit completely or just modify the last commit, modifying the last commit should be sufficient if you only need to do some minor modifications, and you are ready with the new changes that you want the files to be committed with, otherwise, you may need to reset the last commit, then continue editing, and later re-committing, .. this article will show you how do both, and how to recover in case of accidentally reseting an important commit.
While debugging one application that I was working with, I needed to have full application flow, I want to get a list of all functions calls, and I couldn’t find an automated way to do that within GDB itself, or within any other IDE like eclipse or netbeans or codeblocks. Continue reading GDB step into all lines to get full application flow
After doing a clean installation, trying to use the command to install something
apt-get install byobu
I get error:
E: Unable to locate package byobu
I discovered that the default /etc/apt/sources.list file does not have enough sources to get allot of the basic packages.