Categories
Open Source Solutions

Git – Undo Uncommitted Changes to a Specific File

Here are the steps remove uncommited changes to a file in Git:

  • Firstly check the list of uncommited changes in your system by using the command “git status
  • To remove the changes to the file use the command: git checkout <filepath>  Make sure you use the full path as seen in the git status output
  • Execute “git status” again to make sure that the file is now clean again.
Categories
Uncategorized

How to Download Youtube Playlist Ubuntu

Here is the simple step by step process of how to Download Youtube Playlist in Ubuntu. The following method makes it very easy to download entire playlists onto your system.

For this we use the command line tool youtube-dl.

To install youtube-dl use the following commands:
{adinserter 4}
$ sudo apt-get update
$ sudo apt-get install youtube-dl

To download an entire channel use the command:

youtube-dl -citw ytuser:

To download all videos on a playlist use the below command followed by the playlist url:

youtube-dl -citw