What is the difference between ‘origin’ and ‘remote’ in git commands

Published on

In git lingo origin is just the default name for a remote from which a repo was originally cloned. It might equally have been called source or remote1 or just remote. Remember that git is a peer-to-peer, distributed system, not one with any built-in notion of client/server, master/slave, parent/child relationships (though these might be imposed … Continue reading What is the difference between ‘origin’ and ‘remote’ in git commands

How to define own syntax on a GitHub repository?

Published on

Ans 1: Looks like you need add your language to Linguist library (https://github.com/github/linguist) which GitHub utilize to recognize source code languages. according to: https://help.github.com/articles/my-repository-is-marked-as-the-wrong-language/ Ans 2: GitHub uses github/linguist to recognize languages, including to display which languages the project is made up of in the navigation bar. For your. puppy files to be recognized by GitHub (and … Continue reading How to define own syntax on a GitHub repository?

GIT useful commands

Published on

git add –all git stash git pull –rebase git stash pop git add –all git commit -m “Message” git push