Git represents branches as pointers to the latest commit in that branch. If you haven’t created a commit yet, there’s nothing for that branch to point to. So you can’t really create branches until you have at least one commit.
Git allows to create a empty branch but its not common way of using Git.
First create create an empty Git repository by using following command:
$ git init
To create empty branch use following command:
$ git commit --allow-empty -m "initial commit for empty brach"
After running above command it will create a master branch, run following command to conform:
To change nameservers permanently in Ubuntu Desktop Version we need to update /etc/resolvconf/resolv.conf.d/head file with desired list.
Following is the procedure to change nameservers permanently:
Open /etc/resolvconf/resolv.conf.d/head file with your favourite editor:
sudo vim /etc/resolvconf/resolv.conf.d/head
Add following lines to /etc/resolvconf/resolv.conf.d/head, save & exit from the file
Run following command to change nameservers permanently:
sudo resolvconf -u
After running above commands nameservers in your desktop version will get updated with new list as mentioned in /etc/resolvconf/resolv.conf.d/head file.
To conform this open /etc/resolve.conf and validate.