How to amend default user name and email before committing code to remote github repository

If you commit the code to a local github repo with the default user name, you will get the message as shown below: $ git commit MumbaiStock.pm -m v1.5 <enter> [master 24fea3] v1.5 ¬†Committer: wronguser <wrongemail@wrongdomain.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are … Continue reading How to amend default user name and email before committing code to remote github repository

Add repository to sources.list file in Ubuntu

Here is an example of how to add a sources.list file to the Ubuntu packages repository. Open a terminal window and enter the commands below. $ sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup <enter> $ sudo vi /etc/apt/sources.list <enter> Now add the line: deb http://ppa.launchpad.net/speed-dreams/ppa/ubuntu raring main <enter> :wq $ sudo apt-get update <enter> Now you can … Continue reading Add repository to sources.list file in Ubuntu