Tuesday 24 November 2015

Github

  1. https://github.com/about 

To understand GitHub, you must first have an understanding of Git. Git is an open-source version control system that was started by Linus Trovalds – the same person who created Linux. Git is similar to other version control systems – Subversion, CVS, and Mercurial to name a few.

  1. What is the difference between Git and GitHub? 
    Git is a version control system; think of it as a series of snapshots (commits) of your code. You see a path of these snapshots, in which order they where created. You can make branches to experiment and come back to snapshots you took.
    GitHub, is a web-page on which you can publish your Git repositories and collaborate with other people.
  2. Is Git saving every repository locally (in the user's machine) and in GitHub?
    No, it's only local. You can decide to push (publish) some branches on GitHub.
  3. Can you use Git without GitHub? If yes, what would be the benefit for using GitHub?
    Yes, Git runs local if you don't use GitHub. An alternative to using GitHub could be running Git on files hosted on Dropbox, but GitHub is a more streamlined service as it was made especially for Git.
  4. How does Git compare to a backup system such as Time Machine?
    It's a different thing, Git lets you track changes and your development process. If you use Git with GitHub, it becomes effectively a backup. However usually you would not push all the time to GitHub, at which point you do not have a full backup if things go wrong. I use git in a folder that is synchronized with Dropbox.
  5. Is this a manual process, in other words if you don't commit you won't have a new version of the changes made?
    Yes, committing and pushing are both manual.
  6. If are not collaborating and you are already using a backup system why would you use Git?
    • If you encounter an error between commits you can use the command git diff to see the differences between the current code and the last working commit, helping you to locate your error.
    • You can also just go back to the last working commit.
    • If you want to try a change, but are not sure that it will work. You create a branch to test you code change. If it works fine, you merge it to the main branch. If it does not you just throw the branch away and go back to the main branch.
    • You did some debugging. Before you commit you always look at the changes from the last commit. You see your debug print statement that you forgot to delete.
    • Reference:-



4 comments:

  1. Flipkart is one of the biggest world wide eCommerce Site so here you will get Flipkart Cashbackthere

    ReplyDelete
  2. Recruitment Notification is one of the Top most Job Portal Latest AP Govt Jobs 2017there

    ReplyDelete
  3. makemytrip is one of the biggest
    10th advanced supplementary results 2017 world wide eCommerce Site so here you will get makemytrip flight cashback

    ReplyDelete
  4. How to add Chinese keyboard to windows 10? Windows 10 Offers us to add one or multiple keyboards. If you want to type in Chinese, you should have to follow the procedure. Also, you will also understand why you’ve configured with the wrong keyboard and the wrong language and how to get rid of this problem. Normally you don’t need to change your windows language settings. But if you want to type in Chinese languages and want to type any Chinese letter or word, you must have to change the language settings. That’s why I am going to let you know how to add chinese keyboard windows 10.

    Here you’ll find two methods for windows 10 Chinese handwriting input. Following the way step by step, you’ll find it much easier to add any language keyboard. Also, I’ll give you some tips to avoid and solve the common problem related to language and keyboard. Before wrapping up the article, I’ll answer some common questions on adding the Chinese keyboard.

    ReplyDelete