Saturday, May 23, 2015

How to keep a GitHub fork repository up to date?

You might come across many instances where you will have to fork a github repository and commit your changes as pull requests to the original master repository.

If you are to commit changes every now and then you need to make sure that your local repository is up to date with the master repository. Else if there are other commits made by users and you do not have the recent changes you might get commit conflicts once you make a pull request.

So to avoid this, you need to follow two steps.

1. Configure a remote pointing to the original repository.
2. Sync your local repository with original repo.

Configure a remote pointing to the original repository
You can configure a remote  like below.

1. Open the terminal and go to your local repository location.
Next type below command.
You can replace content with the url of your original repository.

git remote add upstream https://github.com/yourRepository.git

2. Next you can verify that a remote upstream repository got added, by giving following command.

git remote -v

  This command should list down the remote you added in previous step.

Sync your local repository with original repo
After you completed creating a remote upstream, now you can update your local repository by giving following commands.

1. Below command will fetch all the changes/updates of your original repository.

  git fetch upstream

2. Next checkout your local master branch.

 git checkout master

3. Next merge the changes of your upstream repo to your local repo.
This will sync your forked local repository without giving up your local changes.

git merge upstream/master


Cauliflower snack :)

Ingredients : 


  • Cauliflower
  • Wheat Flour
  • Water
  • Corn Flour
  • Eggs
  • Salt
  • Turmeric Powder

Method :


Mixture


Put Wheat Flour and water to a blender and blend it well.

Add some Corn Flour to it.

Then add an egg or two.

Salt and Turmeric Powder as the amount you want to get the taste you wish.

Blend it all and make the mixture a bit thick as shown.




Frying


Now you have the mixture with you.

Dip the Cauliflower in the mixture.

Put some oil to a pan and make it boil.

Now you have to fry the Cauliflower which is dip in the mixture one by one.


When you are done with frying you will get a delicious Cauliflower snack to serve :)





Don't make it burn :) serve it with a nice color ;)

Try it and Enjoy!!!

(You can make this vegetarian if you don't add eggs)



Monday, May 4, 2015

Quick Vegetarian Snack - Vegetable Pakora :)

Now a days people kinda face a problem of finding vegetarian snacks :) So I think his will help for those who need it ;)

Ingredients :


  • 200g Gram Flour
  • Wheat Flour
  • Corn Flour
  • Carrot
  • Leeks
  • Cabbage
  • Potato
  • Beans
  • Curry leaves
  • Garlic
  • Salt
  • Water
  • Turmeric Powder
  • Green chilly
  • Chilly pieces


Method :


Mixture


Put the 200g Gram flour to a bowl and add a little Wheat flour and Corn flour to it.
Mix all together and add water to make a paste.
Put them in to a blender and blend it well.

Cut Carrot, Leeks, Cabbage, Potato, Beans, Green chilly in to small pieces.
Put them together and mix.
(You can add more vegetables if you want)

Now add the flour mixture and the vegetables together.

Also cut Curry leaves and add it to the mixture.

You can add Garlic, Salt, Turmeric Powder, Chilly Pieces the amount you want to get the taste you wish.

When you add all these together and mix it with water you will get a mixture as shown in the pic.
This should be not too thick and not too watery.




Frying


Now you have the mixture with you.

Put some oil to a pan and make it boil.

Take a full table spoon from the mixture and put to the oil.
You can add 3 or 4 together depending on the size of the pan.

When you are done with making you will get a delicious Vegetable Pakora to serve :)

If you are ok with having eggs.. you can add 2 eggs to the mixture to make it more tasty.




Don't make it burn :) serve it with a nice color ;)

Try it and Enjoy!!!