Chapter 4 The Online Repository CREATE A REPO ONLINE ON GITHUB.COM.

Slides:



Advertisements
Similar presentations
An Introduction By Sonali and Rasika.  Required for the project  Show the versions of your code in the course of development  Show versions of your.
Advertisements

Github. Download & install git   Git bash  Git GUI.
LECTURE 14 OCT 22, 2010 Git, in graphic form. Change tracking basics.
Git/Unix Lab March Version Control ●Keep track of changes to a project ●Serves as a backup ●Revert to previous version ●Work on the same files concurrently.
Hosted Git github. From an alumni (2010)  You know, the more time I spent in industry the better I've understood what a strong advocate you are for the.
Using svn and git with Unity and sdk
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
1 CSE 390 “Lecture 11” Version control with Git slides created by Ruth Anderson, images from
Git for Version Control These slides are heavily based on slides created by Ruth Anderson for CSE 390a. Thanks, Ruth! images taken from
Getting Started with GIT. Basic Navigation cd means change directory cd.. moves you up a level cd dir_name moves you to the folder named dir_name A dot.
Version control Using Git 1Version control, using Git.
GitHub 102 Tutorial Justin Longo, Assistant Professor & Cisco Systems Research Chair in Big Data and Open Government Johnson-Shoyama Graduate School of.
Version control with Github August 26th, 2014 Daniel Schreij VU Cognitive Psychology departement
Created by: Maria Abrahms Modified Date: Classification: How to get it done Contributing to OpenStack.
GIT An introduction to GIT Source Control. What is GIT (1 of 2) ▪ “Git is a free and open source distributed version control system designed to handle.
Version control Using Git Version control, using Git1.
Version Control. How do you share code? Discussion.
Version Control Systems academy.zariba.com 1. Lecture Content 1.What is Software Configuration Management? 2.Version Control Systems (VCS) 3.Basic Git.
Git workflow and basic commands By: Anuj Sharma. Why git? Git is a distributed revision control system with an emphasis on speed, data integrity, and.
Ernst Peter Tamminga Get started with GitHub XCESS expertise center b.v. Netherlands.
Information Systems and Network Engineering Laboratory II DR. KEN COSH WEEK 1.
Team 708 – Hardwired Fusion Created by Nam Tran 2014.
Git Fundamentals Rochelle Terman 13 January 2014.
1 Applied CyberInfrastructure Concepts ISTA 420/520 Fall
Introduction to GitHub Alex Bigazzi Dec. 4, 2013 ITS Lab GitHub Introduction1.
1 Web Design Workshop DIG 4104c Spring 2012 Dr. J. Michael Moshell and Mr. Adam Lenz University of Central Florida Lecture 6: Bitbucket
GitHub and the MPI Forum: The Short Version December 9, 2015 San Jose, CA.
Jsp / eclipse 정보공유 Social Coding GitHub 허광남
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
CS 160 and CMPE/SE 131 Software Engineering February 16 Class Meeting Department of Computer Science Department of Computer Engineering San José State.
Git with Eclipse (EGit) /article.html.
Hosted Git github. From an alumnus (2010)  You know, the more time I spent in industry the better I've understood what a strong advocate you are for.
It’s not just an insult from Harry Potter!. What is Git? Distributed Version Control System (DVCS) – Compared to a Centralized Version Control System.
Information Systems and Network Engineering Laboratory I DR. KEN COSH WEEK 1.
Git How to 1. Why Git To resolve problems in lab exams (accidental deletions) Use existing Libraries with ease (Statistics and Computer) Prepare undergraduates.
Using Git with collaboration, code review, and code management for open source and private projects. & Using Terminal to create, and push commits to repositories.
1. A new git is initialized as a remote repository JohnRemote repositoryPeter master C0 CodingWhileBlack.com PROPEL CODING
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
Git workflows: using multiple branches for parallel development SE-2800 Dr. Mark L. Hornick 1.
Jun-Ru Chang Introduction GIT Jun-Ru Chang
GIT Version control. Version Control Sharing code via a centralized DB Also provides for Backtracking (going back to a previous version of code), Branching.
Introduction to GitHub
M.Sc. Juan Carlos Olivares Rojas
Information Systems and Network Engineering Laboratory II
I Don’t Git It: A beginner’s guide to git Presented by Mathew Robinson
Version Control.
Setting up Git, GitBash, and GitHub
CS4961 Software Design Laboratory I Collaboration using Git and GitHub
Setting up Git, GitBash, and GitHub
Keeping track of all the copies of your files
L – Modeling and Simulating Social Systems with MATLAB
Version Control overview
Version control, using Git
Software Engineering for Data Scientists
Macaualy2 Workshop Berkeley 2017
Version Control with Git accelerated tutorial for busy academics
Akshay Narayan git up to speed with RCS Akshay Narayan
BIT 286: (Web) Application Programming
The Big Picture
SIG: Open Week 1: GitHub Tim Choh.
Setting up Git, GitBash, and GitHub
Using Github.
Using Github and Github Organization in this Course
CMPE/SE 131 Software Engineering February 14 Class Meeting
GitHub and Git.
GitHub 101 Using Github and Git for Source Control
Introduction to Git and Github
Git GitHub.
Using GitHub for Papyrus Models Jessie Jewitt – OAM Technology Consulting/ ARM Inc. January 29th, 2018.
Presentation transcript:

Chapter 4 The Online Repository CREATE A REPO ONLINE ON GITHUB.COM

1)Go to github.com and sign in 2)Spot the “create new repository” tab 3)Enter the required values 1. 2.

1)To push your local content (Commits) to online repo, You will need a key to be connected online, It is called a SSH key. You can find it on github. 2)First you have to ADD the local repository connection, then you can PUSH it. 3)After setting up the connection, you can push it online. 4)Check you gitog

1)Go to your Github account. 2)Refresh the repo page. 3)There it is ! 1. 2.

Fork and Pull Requests How to fork and push a repository from different account. Things to take a note of, In this part we are going to fork a repository Owned by,Yash03 Name : Testing The account which will fork it is : y1ash

Logged in as y1ash, seeing repo – “Testing” of yash3shah.

1. Testing – yash3shah2. Fork testing to y1ash3.Forking Testing. Step : 1 Step : 2 Step : 3

1. Forked repo in y1ash2. yash3shah’s news feed

Clone the repository on your desktop.

Open Desktop -> Github, You can see the Testing repo. 2.Open shell, write -> git remote, You shall see two files, origin and upstream. Upstream is the stream of your(y1ash) repo (testing) that is to be uploaded to the original repo(yash3shah->testing). 3.Open a file, change it. 4.Open shell and you’ll see the modifications.

1.Add files to be staged for commit. 2.Commit changes. 3. Push files to online github.

You can see in github, in y1ash’s profile that in the Tasting repo there are 4 commits.

But in yash03’s profile, in testing repo there is only ONE commit. It’s because the commits that y1ash made are in his repo, and not reflected back in the original repository. Now if y1ash wants to join his repo to the original repo, what he should do

The Pull Request

1. 2. The y1ash’s side if story 1.Go to Testing repository, Initiate a “Pull request”. 2.Add a title and description(Optional).

You can see that y1ash has created a pull request. 2.Just review it and if it is good enough you can merge it. Github can automatically merge the repositories, so you need not to worry about that, unless there is a conflict, then you will have to merge it manually.