Git-Github Tools Prepared for COP4331. Git-Github Tools Prepared for COP4331.

Slides:



Advertisements
Similar presentations
TortoiseSVN By Group 1 Team B. Installing TortoiseSVN.
Advertisements

Version Control CS440 – Introduction to Software Engineering © 2014 – John Bell Based on slides prepared by Jason Leigh for CS 340 University.
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.
Github. Download & install git   Git bash  Git GUI.
1 CSE 390 “Lecture 11” Version control with Git slides created by Ruth Anderson, images from
Introduction to Git and Github Joshua imtraum.com.
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 ▪Version control is a system that records changes to a file or set of files over time so.
Peter Ogden and Josh Levine.  Motivation  High level overview  Walk through the common operations  How not to break things (too badly)
Version control Using Git Version control, using Git1.
Drexel University Software Engineering Research Group Git for SE101 1.
Team 708 – Hardwired Fusion Created by Nam Tran 2014.
Git Basics. Git stores data as snapshots of the project over time When commit Save all the files If files have not changed, point to the previous identical.
1 Applied CyberInfrastructure Concepts ISTA 420/520 Fall
Git Super Basics. What is Git? Version Control System (VCS) Successor to SVN in the Drupal eco-system A tool.
1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY.
Intro to Git presented by Brian K. Vagnini Hosted by.
Lecture 2 Making Simple Commits Sign in on the attendance sheet! credit:
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
Information Systems and Network Engineering Laboratory I DR. KEN COSH WEEK 1.
INTRODUCTION TO GIT. Install Egit for eclipse Open eclipse->Help->Install New Software Search for one of the following -
Git How to 1. Why Git To resolve problems in lab exams (accidental deletions) Use existing Libraries with ease (Statistics and Computer) Prepare undergraduates.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
BIT 285: ( Web) Application Programming Lecture 07 : Tuesday, January 27, 2015 Git.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 28-Jun-16.
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.
Backing up a machine with git
Basics of GIT for developers and system administrators
Introduction to GitHub
M.Sc. Juan Carlos Olivares Rojas
L – Modeling and Simulating Social Systems with MATLAB
I Don’t Git It: A beginner’s guide to git Presented by Mathew Robinson
Primož Gabrijelčič Git for Programmers Primož Gabrijelčič
CReSIS Git Tutorial.
Code Management With Github & Straw Resistance Measurements
Git-Github Safa Prepared for the course COP4331 – Fall 2016.
CS/COE 1520 Recitation Week 2
Setting up Git, GitBash, and GitHub
SSE2034: System Software Experiment 3 Spring 2016
IST256 : Applications Programming for Information Systems
Version Control overview
Version control, using Git
File Version Control System
Version Control with Git and GitHub
Sign in on the attendance sheet!
An introduction to version control systems with Git
SU Development Forum Introduction to Git - Save your projects!
Distributed Version Control with git
Akshay Narayan git up to speed with RCS Akshay Narayan
An introduction to version control systems with Git
The Big Picture
SIG: Open Week 1: GitHub Tim Choh.
Setting up Git, GitBash, and GitHub
An introduction to version control systems with Git
Version control with Git Part II
Version Control System - Git
Introduction to Git and GitHub
Convert an Eclipse Project to a Git repository and push up to GitHub
Git started with git: 2018 edition
Version Control with Git
Version Control with Git and GitHub
Version/revision control via git
Intro to Git and GitHub Version Control using Git Carol Schofield
Introduction to Git and Github
Git GitHub.
Introduction to The Git Version Control System
Using GitHub for Papyrus Models Jessie Jewitt – OAM Technology Consulting/ ARM Inc. January 29th, 2018.
Advanced Git for Beginners
Presentation transcript:

Git-Github Tools Prepared for COP4331

Git version control system SVN,StarTeam Github repository site

https://git-scm.com/book/en/v2/Getting-Started-Installing-Git https://git-scm.com/download/win Let’s define ourselves first git config --global user.email "you@example.com" git config --global user.name "Your Name"

Local first first lets make a git folder in our computer git init add a file to the folder git add newfile.file git commit -m “new file added” newfile.file If you don’t provide file after the comment, everything you have done will be committed.

Ignore? Create a file called .gitignore Write the file names that should be ignored by git Commit the file

Pulling a repository/editing lets pull a repository from github git pull https://github.com/cosai/test git remote add origin https://github.com/cosai/test I defined the link as origin. No need to write this link every time. Edit the file a.txt git commit –am ‘something added’ git push origin

Remove a file git rm somefile.txt git commit –m ‘removed’ git push origin

Conflict git commit -am 'Conflicts resolved‘

Go back to ies Git log See the commit id Show me the logs git See the commit id git reset --hard c1ac571d9af5fe1126ecdf64c57d6ef4a5990a60 && git clean -f Destroys the local modifications! Removes untracked files!

One step back! An easy way to revert last commit (1) git revert HEAD~1..HEAD git push origin

Don’t want to enter username? $ git config credential.helper store $ git push http://example.com/repo.git Username: <type your username> Password: <type your password> http://stackoverflow.com/questions/11403407/git-asks-for-username-everytime-i-push

https://www.atlassian.com/git/tutorials/ https://app.box.com/githubUCF