Minggu, 25 Desember 2016

Github Full Tutorial

The page was created specifically to bind science ever experienced by the author about GitHub, and improve the previous page, and will be updated over time or if new problems related to GitHub. Did not rule on other pages with #tag GitHub.

Starting from an assignment given by a teacher who includes some subjects, until now moved into the world of work / real / field.

Subject:


  • What's that git versioning (github)?
  • Benefits master / expertise github
  • How to create a Repository
  • What is the Branch?
  • function Branch
  • How to download the latest data repository
  • How to install git versioning (github)
  • How to send a job / project to the repository
  • How to comment on repository
  • How to contribute in github


1. WHAT IS GIT Versioning (Github)?

GitHub is a service repository (storage) web-based project, to develop software collaboratively with the community. More than 29 projects and 11 million people have joined in it, they and other developers can find, use and contribute to a powerful workflow.


Version Control System (VCS) or also called Git, GitHub is a heart that is open source, which is responsible for everything related to GitHub running on your local computer. VCS or Git was created by Linus Torvalds in 2005 applied to the Linux kernel version.


2. BENEFITS DOMINATE / HAVE EXPERTISE Github

So that we can develop the software team work (collaboration),

In order for the project faster, more effective, efficient and productive,

In order to get the best quality of the project, because every team can control each other.


3. HOW TO MAKE A Repository

In this case, I assume that you already have a GitHub account, how easy registration, as well as when you register on gmail, facebook, twitter, kaskus, etc.


To put the project on GitHub, then you need to create a repository, how:


3. 1. In the upper right corner there is a sign + >> click it, then appeared dropdown menu >> click New repository

new Repo

3. 2. Create a repository name short, so easy to remember, such as "CI_CRUD"

3. 3. Optionally, add a description of your repository, for example "about create read update delete"

3. 4. Determine previlage (access rights) for your repository, Public or Private.

Repository public is an option to start working with other GitHub users, so you can benefit from collaboration with the community.

Repository private is an option to start working independently or individuals, which features provided less than the public and you can also specify to whom to collaborate.
Add repo
3. 5. Select Initialize this repository with a README.
3. 6. Klik Create repository.

Have new repo

there are some features such as commit, branch, release and contributor, but let's start first of what branch?


4. WHAT IS BRANCH?

Branch (Branch) is a kind of label settings to determine the purpose, function or purpose of your project, by default usually as a master. You can change it to be more specific for other purposes. Example;
branch
 5. Function Branch

To develop new features
To fix bugs (errors or conflicts),
For air-experiment with new ideas safely and freely.


6. How to download the latest data repository
You can use the url clone to clone a local repository to your PC, clone url can be accessed using GitHub Desktop (GUI), Git Desktop (GUI), Git Shell (CLI), Git Bash (CLI), and the Git CMD (CLI).

Can also use Open in the Desktop menu, if you click it, then the default application Github GUI on your PC will open and automatically perform the cloning process.

Can also use ZIP Download menu, if you click, it will download a repository in packaging zip

download repo


7. How to install git versioning (github)

You can use Github Desktop, please download the https://desktop.github.com/
You can also use Git, please download the https://git-scm.com/downloads

Both of these applications are already equipped with the version of the GUhttps://www.blogger.com/blogger.g?blogID=1441620163378598259#editor/target=post;postID=253875963812639562;onPublishedMenu=allposts;onClosedMenu=allposts;postNum=0;src=linkI and CLI. You are free to select which one to use. But in order to provide the best in this tutorial, so I downloaded both and I'll demokan to you. We start from GitHub installer first, next Git installer.

instal
7. 1. Install GitHub Desktop
Double-click GitHubSetup.exe, then appear the dialog for excused from you, once you agree, then the installer GitHub will automatically identify your computer system, then perform the installation online, wait until the process is complete.

notif github


installer



After the installation process is complete, it automatically opens the GUI GitHub, or if not, then you can click on GitHub shortcut on your Desktop PC. You are required to login first.
login

done login



Upon successful login, the next we just add a project that has been created to CI_CRUD repository in GitHub server. By way of follow p.8.

8. How to send a job / project to the repository
Berukut are several stages to send the project / work to the cloud repository:

8. 1. Clone Repository
First. We clone beforehand diserver GitHub repository in a local PC, by clicking the plus sign in the upper left sidebar menu select clone >> >> >> click Clone CI_CRUD select CI_CRUD


cloning
 Then we asked to specify the destination repository on the local PC, and I would put it in the folder wamp \ www
project

done project
 8. 2. Commit project
You also can see the changes in the application GitHub, you can also add information about their project (optional), as shown below;

commit
 8. 3. Synchronize / Push to cloud repository
The final step, click Sync to sync / push / upload by remote, wait until the process is complete. When finished, you can notice the blue circle indicator, and check the server repository in GitHub.

repo a done

Artikel Terkait

Newest Post
Oldest Page