Hey folks,
For Tech savvies this blog will be an entertainment page just enjoy, for people who are all seeking for good technical stuffs , this page would be a sneak peak of GitHub. If you are a developer GitHub going to play a phenomenal role for you better future and make your works so simple.
what is GitHub?
GitHub is a version controller repository .It allow you to track the history of collections of files It states that developers and programmer may come across lots of idea and their work portfolio. In order to preserve those collections they have to take a backup of it any drives but its actually a tedious process to follow and to remember the files details and related things, but GitHub helps to maintain the details of specific details and their versions.
Its is a web based Git.Git is a commit object and all the files in the Git are immutable. After committed the files we are not able to change the files but we can get another version of it. That's how it will work and we can get the committed version of our project or our code.
It has the facility for number of persons to work in single project as a team weighted of any number and it helps to maintain the update and won't have the possibility for any confusions.
Its is a web based Git.Git is a commit object and all the files in the Git are immutable. After committed the files we are not able to change the files but we can get another version of it. That's how it will work and we can get the committed version of our project or our code.
It has the facility for number of persons to work in single project as a team weighted of any number and it helps to maintain the update and won't have the possibility for any confusions.
why should we need to have an account in GitHub?
- In order to have different version of our projects and to maintain all the projects with out any conflicts .
- To show case of works and its portfolio it will be a best platform.(if you are a fresher or seeking for better job it will play a vital role in your carrier).
- We can put our code in public mode for others to get benefits .
- We can get others code for our project .
How should we work in it?
To get into GitHub , we should know some of the terms such as Repository, pull, push, clone,commit, branching, fork, etc..
Repository:
A repository is usually to organize a single project .It can contain folders, files , images, videos etc..
Pull:
Getting code from others repository or others project.
clone:
Getting copy of someone project and import into our IDE or software and work in it.
Commit:
Saving the code up-to some level where we may come back to get the code.
Branching:
Branching is the way to work on different versions of a repository at one time.
By default your repository has one branch named master which is considered to be the definitive branch.
Fork:
A fork is a copy of repository. It allows you to freely experiment with changes without affecting the original projects. It is mostly used to change someone project and keep it in our repository area by implementing idea.
STEPS:
- Download Git file for your system specifications and install it.
- Create account in GitHub
- Create repository with reasonable name
- if you have already worked something in any domain like app development or web development ,first step is to initiate with git command from that directory.
- Initiation--------Cmd: git init.
- Adding----------Cmd: git add <filename>.
- Committing-----Cmd:git commit -m "<msg>".
- Remotely connecting with our project repository--------Cmd: git remote add origin "URL where to be pushed".
- Pushing----------Cmd:git push -u origin master.
6.Clone--------------Cmd: git clone "URL".
7.Status--------------Cmd:git status.
Note:
Adding file will use all the MS-DOS commands
If we would like to add the all the files just "." enough eg:Cmd: git add .
My GitHub Profile
For further guidance click here
Get started to work a lot in GitHub, ALL THE BEST!
Keep Learning and keep Coding .
cheers !
My personal Thanks to
Mr. R. LAKSHMANAN (sir) GitHub profile: iTech Thanjavur
Mr. A.V. VICKY SIR (sir) GitHub Profile: iamvickyav
Comments
Post a Comment