Version control. with git and GitHub. Karl Broman. Biostatistics & Medical Informatics, UW Madison
|
|
|
- Randall Harrell
- 10 years ago
- Views:
Transcription
1 Version control with git and GitHub Karl Broman Biostatistics & Medical Informatics, UW Madison kbroman.org Course web: kbroman.org/tools4rr Slides prepared with Sam Younkin Version control is not strictly necessary for reproducible research, and it s admittedly a lot of work (to learn and to use) in the short term, but the long term benefits are enormous. The advantages are: you ll save the entire history of changes to a project, you can go back to any point in time (and see what has changed between any two points in time), you don t have to worry about breaking things that work, and you can easily merge changes from multiple people. I now use version control for basically everything: software, data analysis projects, papers, talks, and web sites. People are more resistant to version control than to any other tool, because of the short-term effort and the lack of recognition of the long-term benefits.
2 2 This is typical. And never use final in a file name.
3 Methods for tracking versions Don't keep track good luck! Save numbered zip files Unzip versions and diff Formal version control Easy to study changes back in time Easy to jump back and test 3 There are three methods for keeping track of changes: don t keep track, periodically zip/tar a directory with a version number, or use formal version control. Imagine that some aspect of your code has stopped working at some point. You know it was working in the past, but it s not working now. How easy is it to figure out where the problem was introduced?
4 Why use formal version control? History of changes Able to go back No worries about breaking things that work Merging changes from multiple people 4 With formal version control, you ll save the entire history of changes to the project, and you can easily go back to any point in the history of the project, to see how things were behaving at that point. You ll be able to make modifications (e.g., to try out a new feature) without worrying about breaking things that work. And version control is especially useful for collaboration. If a collaborator has made a bunch of changes, it ll be much easier to see what was changed and to incorporate those changes.
5 Example repository 5 This is a snapshot of a repository on GitHub: a set of files and subdirectories with more files. You can easily explore the contents.
6 Example history 6 This is a short view of the history of changes to the repository: a series of commits.
7 Example commit 7 This is an example of one of those commits, highlighting what lines were added and what lines were removed.
8 What is git? Formal version control system Developed by Linus Torvalds (developer of Linux) used to manage the source code for Linux Tracks any content (but mostly plain text files) source code data analysis projects manuscripts websites presentations 8 We re going to focus on git, the version control system developed by Linus Torvalds for managing the source code for Linux. You can track any content, but it s mostly for tracking plain text files, but that can be most anything (source code, data analysis projects, manuscripts, websites, presentations).
9 Why use git? It's fast You don't need access to a server Amazingly good at merging simultaneous changes Everyone's using it 9 Git is fast, you can use it locally on your own computer, it s amazingly good at merging changes, and there are lots of people using it.
10 What is GitHub? A home for git repositories Interface for exploring git repositories Real open source immediate, easy access to the code Like facebook for programmers Free 2-year "micro" account for students education.github.com (Bitbucket.org is an alternative) free private repositories 10 GitHub is a website that hosts git repositories, with a nice graphical user interface for exploring git repositories. Source code on GitHub is real open source: anyone can study it and grab it. GitHub is sort of like Facebook for programmers: you can see what people are up to, and easily collaborate on shared projects. It s free to have public repositories on GitHub; if you want private repositories, you generally have to pay, but I understand that students can get a two-year account that allows 5 private repositories. Bitbucket.org is an alternative; it allows unlimited private repositories. I m cheap, so I use Bitbucket for my private repositories.
11 Why use GitHub? It takes care of the server aspects of git Graphical user interface for git Exploring code and its history Tracking issues Facilitates: Learning from others Seeing what people are up to Contributing to others' code Lowers the barrier to collaboration "There's a typo in your documentation." vs. "Here's a correction for your documentation." 11 GitHub takes care of the server aspects of git, and you get a great GUI for exploring your repositories. GitHub is great for browsing others code, for learning; you don t even have to download it to your computer. And it s really easy to contribute to others code (e.g., to report typos in their documentation).
12 Basic use Change some files See what you've changed git status git diff git log Indicate what changes to save git add Commit to those changes git commit Push the changes to GitHub git push Pull changes from your collaborator git pull git fetch git merge 12 These are the basic git commands you ll use day-to-day. git status to see the current state of things, git diff to see what s changed, and git log to look at the history. After you ve made some changes, you ll use git add to indicate which changes you want to commit to, and git commit to commit to them (to add them to the repository). You use git push to push changes to GitHub, and git pull (or git fetch and git merge) to pull changes from a collaborator s repository, or if you re synchronizing a repository between two computers.
13 Initialize repository Create (and cd to) a working directory For example, ~/Docs/Talks/Graphs Initialize it to be a git repository git init Creates subdirectory ~/Docs/Talks/Graphs/.git $ mkdir ~/ Docs/ Talks/ Graphs $ cd ~/ Docs/ Talks/ Graphs $ git init Initialized empty Git repository in ~/ Docs/ Talks/ Graphs/. git/ 13 If you re starting a new, fresh project, you make a directory for it and go into that directory, and then you type git init. This creates a.git subdirectory.
14 Produce content Create a README.md file ## Talk on & ldquo; How to display data badly& rdquo; These are slides for a talk that I give as often as possible, because it's fun. This was inspired by Howard Wainer 's article, whose title I stole: H Wainer (1984) How to display data badly. American Statistician 38: A recent PDF is [here]( www. biostat. wisc. edu/~ kbroman/ talks/ graphs2013. pdf). 14 Start creating a bit of content, such as a Readme file. You can use Markdown to make it look nicer.
15 Incorporate into repository Stage the changes using git add $ git add README.md 15 Use git add to tell git that you want to start keeping track of this file. This is called staging, or you say the file is staged.
16 Incorporate into repository Now commit using git commit $ git commit -m " Initial commit of README.md file" [ master (root - commit) 32 c9d01] Initial commit of README.md file 1 file changed, 14 insertions(+) create mode README.md The -m argument allows one to enter a message Without -m, git will spawn a text editor Use a meaningful message Message can have multiple lines, but make 1st line an overview 16 Use git commit to add the file to the repository.
17 A few points on commits Use frequent, small commits Don't get out of sync with your collaborators Commit the sources, not the derived files (R code not images) Use a.gitignore file to indicate files to be ignored *~ manuscript. pdf Figs/*.pdf.RData.RHistory *.Rout *.aux *.log *.out 17 I recommend using frequent, small commits. I ll make a batch of changes with a common theme, make sure things are working, then add and commit. In projects with collabotors, be sure to pull any changes from them before starting to make your own changes, and encourage your collaborators to do the same. If you both make a month s changes in parallel, merging the changes will be harder. I commit only the source, and not files that are derived from those sources. For a manuscript, though, I might include the pdf at major milestones (at submission, after revision, and upon acceptance), so that I don t have to work as hard to reconstruct them. Use a.gitignore file so that untracked files don t show up with git status. You can have a global ignore file, ~/.gitignore_global. But leaving off critical files is a common mistake.
18 Using git on an existing project git init Set up.gitignore file git status (did you miss any?) git add. (or name files individually) git status (did you miss any?) git commit 18 I recommend using git with all of your current projects. Start with one. Go into the directory and type git init. Then use git add repeatedly, to indicate which files you want to add to the repository. Then use git commit to make an initial commit.
19 Removing/moving files For files that are being tracked by git: Use git rm instead of just rm Use git mv instead of just mv $ git rm myfile $ git mv myfile newname $ git mv myfile SubDir/ $ git commit 19 For files that are being tracked by git: If you want to change the name of a file, or if you want to move it to a subdirectory, you can t just use mv, you need to use git mv. If you want to remove a file from the project, don t use just rm, use git rm. Note that the file won t be completely removed; it ll still be within the history.
20 First use of git $ git config -- global user. name " Jane Doe" $ git config -- global user. " janedoe@wisc. edu" $ git config -- global color.ui true $ git config -- global core. editor emacs $ git config -- global core. excludesfile ~/. gitignore_global 20 The very first time you use git, you need to do a bit of configuration. All of this stuff gets added to a ~/.gitconfig file
21 Set up GitHub repository Get a GitHub account Click the "Create a new repo" button Give it a name and description Click the "Create repository" button Back at the command line: git remote add origin git push -u origin master 21 To create a GitHub repository, I generally first set things up locally (using git init and then a bit of git add and git commit). Then go to GitHub and click the Create a new repo button. Give it a name and description and click Create repository. The back at the command line, you use git remote add to indicate the github address; then git push to push everything to GitHub.
22 Configuration file Part of a.git/config file: [remote "origin"] url = github. com/ kbroman/ qtl. git fetch = +refs/ heads/*: refs/ remotes/ origin/* [branch "master"] remote = origin merge = refs/ heads/ master [remote "brian"] url = git:// github. com/ byandell/ qtl. git fetch = +refs/ heads/*: refs/ remotes/ brian/* 22 The git remote add commands adds stuff to the.git/config file; if you ve made a mistake, you can just edit this file. There are three different constructions for the url: git://github.com/username/repo [email protected]:username/repo With https, you ll need to enter your GitHub login and password each time. With git://, you ll have only read access. With [email protected]:, you need to set up ssh. (More work initially, but you ll get write access without having to enter your login and password.)
23 Branching and merging Use branches to test out new features without breaking the working code. git branch devel git branch git checkout devel When you're happy with the work, merge it back into your master branch. git checkout master git merge devel 23 Branching is a really important feature of git. Create a branch to test out some new features without breaking your working software. git branch is used to create branches and to see what branches you have. git checkout is used to switch among branches. git merge is used to merge a different branch into your current one.
24 Issues and pull requests Problem with or suggestion for someone's code? Point it out as an Issue Even better: Provide a fix Fork Clone Modify Commit Push Submit a Pull Request 24 One of the best features of GitHub is the ease with which you can suggest changes to others code, either via an Issue, or best of all via a Pull Request.
25 Suggest a change to a repo Go to the repository: Fork the repository Click the "Fork" button Clone your version of it git clone Change things locally, git add, git commit Push your changes to your GitHub repository git push Go to your GitHub repository Click "Pull Requests" and "New pull request" 25 To suggest a change to someone s repository, go to their repository and click the Fork button. This makes a copy of the repo in your part of GitHub. Then go back to the command line and clone your version of the repository. Make changes, test them, add, and commit them, and push them to your GitHub repository. Then go back to your GitHub repository and click Pull Requests and New pull request.
26 Pulling a friend's changes Add a connection git remote add friend git://github.com/friend/repo If you trust them, just pull the changes git pull friend master Alternatively, fetch the changes, test them, and then merge them. git fetch friend master git branch -a git checkout remotes/friend/master git checkout -b friend git checkout master git merge friend Push them back to your GitHub repo git push 26 If a friend (or perhaps someone you don t even know) has made suggested changes to your repository by a Pull Request, you ll get an and it will show up on your GitHub repository. On the command line, use git remote add to make a connection to their repository. Then use git pull, or (better) use git fetch, test them out, and then use git merge. Finally, push the changes back to your GitHub repository.
27 Merge conflicts Sometimes after git pull friend master Auto - merging README.md CONFLICT ( content): Merge conflict in README.md Automatic merge failed; fix conflicts and then commit the result. Inside the file you'll see: <<<<<<< HEAD A line in my file. ======= A line in my friend 's file >>>>>>> f2cd2acde08e32f0beb084b2f7c3257fff Edit, add, commit, push, submit pull request. 27 Sometimes there will be conflicts: you and your collaborator will have been making changes to the same portion of a file and you ll have to resolve the differences. It s perhaps surprising how seldom this happens. git is really good at merging changes. If there s a merge conflict, there ll be a big warning message on git pull or git merge, When you open the offending file in an editor, look for lines with <<<<<<<, =======, and >>>>>>>. Pick and choose and make the file just as you want it. Then, git add, git commit, and git push.
28 git/github with RStudio See GitPrimer.pdf or RStudio page 28 RStudio has great features for using git and GitHub. I m not going to spend time talking about this here; google git site:rstudio.com. The key thing is that a Project in RStudio is a directory (with some RStudio configuration file, blah.proj) and will be your git repository.
29 Delete GitHub repo 29 To learn git and GitHub, you ll want to create some test repositories and play around with them for a while. You may want to delete them later. On your computer, if you delete the.git subdirectory, it ll no longer be a git repository. On GitHub, go to the settings for the repository and head down to the Danger Zone.
30 Git at Statistics, UW-Madison Easy to use, free infinite private repositories. Not as nice of interface to review code: Rely on GUI or private web page. When your ssh account expires, your access to them expires. 30 If you have an account on the UW-Madison Statistics server, you can use git there in place of GitHub. The advantage is that you can have as many private repositories as you want. The disadvantages are that you won t have the GitHub interface and you can only use this as long as you have a Statistics account. I haven t done this myself; these three slides were kindly provided by Tim Grilley.
31 Git at Statistics, UW-Madison Setup (on server): Connect to server ssh bigmem01.stat.wisc.edu Consider using kinit + aklog if logging on frequently Make Folder cd Repositories mkdir NewRepository Initialize Server Repository cd NewRepository git init 31 To set up a repository you just log in to one of the Statistics computers, create a directory, and use git init.
32 Git at Statistics, UW-Madison Usage (on client, e.g. laptop): Clone/Pull onto other systems git clone ssh:\\bigmem01.stat.wisc.edu\~[user]\repositories\newrepository Make changes, and commit git add -i git commit -m 'An informative message here.' Push changes back git push origin 32 This is what you d do on your local computer (e.g., a Windows laptop). On a Mac, you d need to replace the backslashes with forward slashes.
33 Open source means everyone can see my stupid mistakes. Version control means everyone can see every stupid mistake I've ever made. bit.ly/stupidcode 33 If you store your code on GitHub, everyone can see everything. They can even see everything that ever was. I think this openness is a Good Thing. You may be shy about your code, but probably no one is looking. And if they are looking, that is actually a Good Thing.
Version Control with. Ben Morgan
Version Control with Ben Morgan Developer Workflow Log what we did: Add foo support Edit Sources Add Files Compile and Test Logbook ======= 1. Initial version Logbook ======= 1. Initial version 2. Remove
Introduction to Git. Markus Kötter [email protected]. Notes. Leinelab Workshop July 28, 2015
Introduction to Git Markus Kötter [email protected] Leinelab Workshop July 28, 2015 Motivation - Why use version control? Versions in file names: does this look familiar? $ ls file file.2 file.
Git Basics. Christopher Simpkins [email protected]. Chris Simpkins (Georgia Tech) CS 2340 Objects and Design CS 1331 1 / 22
Git Basics Christopher Simpkins [email protected] Chris Simpkins (Georgia Tech) CS 2340 Objects and Design CS 1331 1 / 22 Version Control Systems Records changes to files over time Allows you to
MATLAB & Git Versioning: The Very Basics
1 MATLAB & Git Versioning: The Very Basics basic guide for using git (command line) in the development of MATLAB code (windows) The information for this small guide was taken from the following websites:
Introduction to the Git Version Control System
Introduction to the Sebastian Rockel [email protected] University of Hamburg Faculty of Mathematics, Informatics and Natural Sciences Department of Informatics Technical Aspects of Multimodal
Version Control using Git and Github. Joseph Rivera
Version Control using Git and Github Joseph Rivera 1 What is Version Control? Powerful development tool! Management of additions, deletions, and modifications to software/source code or more generally
Version Control with Git. Dylan Nugent
Version Control with Git Dylan Nugent Agenda What is Version Control? (and why use it?) What is Git? (And why Git?) How Git Works (in theory) Setting up Git (surviving the CLI) The basics of Git (Just
Version Control with Git. Linux Users Group UT Arlington. Rohit Rawat [email protected]
Version Control with Git Linux Users Group UT Arlington Rohit Rawat [email protected] Need for Version Control Better than manually storing backups of older versions Easier to keep everyone updated
Introducing Xcode Source Control
APPENDIX A Introducing Xcode Source Control What You ll Learn in This Appendix: u The source control features offered in Xcode u The language of source control systems u How to connect to remote Subversion
The Hitchhiker s Guide to Github: SAS Programming Goes Social Jiangtang Hu d-wise Technologies, Inc., Morrisville, NC
Paper PA-04 The Hitchhiker s Guide to Github: SAS Programming Goes Social Jiangtang Hu d-wise Technologies, Inc., Morrisville, NC ABSTRACT Don't Panic! Github is a fantastic way to host, share, and collaborate
FEEG6002 - Applied Programming 3 - Version Control and Git II
FEEG6002 - Applied Programming 3 - Version Control and Git II Sam Sinayoko 2015-10-16 1 / 26 Outline Learning outcomes Working with a single repository (review) Working with multiple versions of a repository
Version Control with Svn, Git and git-svn. Kate Hedstrom ARSC, UAF
1 Version Control with Svn, Git and git-svn Kate Hedstrom ARSC, UAF 2 Version Control Software System for managing source files For groups of people working on the same code When you need to get back last
Version Control Script
Version Control Script Mike Jackson, The Software Sustainability Institute Things you should do are written in bold. Suggested dialog is in normal text. Command- line excerpts and code fragments are in
Version Control with Git. Kate Hedstrom ARSC, UAF
1 Version Control with Git Kate Hedstrom ARSC, UAF Linus Torvalds 3 Version Control Software System for managing source files For groups of people working on the same code When you need to get back last
Using Git for Project Management with µvision
MDK Version 5 Tutorial AN279, Spring 2015, V 1.0 Abstract Teamwork is the basis of many modern microcontroller development projects. Often teams are distributed all over the world and over various time
Unity Version Control
Unity Version Control with BitBucket.org and SourceTree BLACKISH - last updated: April 2013 http://blog.blackish.at http://blackish-games.com! Table of Contents Setup! 3 Join an existing repository! 4
Version control with GIT
AGV, IIT Kharagpur September 13, 2012 Outline 1 Version control system What is version control Why version control 2 Introducing GIT What is GIT? 3 Using GIT Using GIT for AGV at IIT KGP Help and Tips
An Introduction to Mercurial Version Control Software
An Introduction to Mercurial Version Control Software CS595, IIT [Doc Updated by H. Zhang] Oct, 2010 Satish Balay [email protected] Outline Why use version control? Simple example of revisioning Mercurial
MOOSE-Based Application Development on GitLab
MOOSE-Based Application Development on GitLab MOOSE Team Idaho National Laboratory September 9, 2014 Introduction The intended audience for this talk is developers of INL-hosted, MOOSE-based applications.
Data management on HPC platforms
Data management on HPC platforms Transferring data and handling code with Git scitas.epfl.ch September 10, 2015 http://bit.ly/1jkghz4 What kind of data Categorizing data to define a strategy Based on size?
Introduction to Version Control
Research Institute for Symbolic Computation Johannes Kepler University Linz, Austria Winter semester 2014 Outline General Remarks about Version Control 1 General Remarks about Version Control 2 Outline
Using GitHub for Rally Apps (Mac Version)
Using GitHub for Rally Apps (Mac Version) SOURCE DOCUMENT (must have a rallydev.com email address to access and edit) Introduction Rally has a working relationship with GitHub to enable customer collaboration
Version Control. Version Control
Version Control CS440 Introduction to Software Engineering 2013, 2015 John Bell Based on slides prepared by Jason Leigh for CS 340 University of Illinois at Chicago Version Control Incredibly important
Advanced Computing Tools for Applied Research Chapter 4. Version control
Advanced Computing Tools for Applied Research Jaime Boal Martín-Larrauri Rafael Palacios Hielscher Academic year 2014/2015 1 Version control fundamentals 2 What you probably do now Manually save copies
Lab Exercise Part II: Git: A distributed version control system
Lunds tekniska högskola Datavetenskap, Nov 25, 2013 EDA260 Programvaruutveckling i grupp projekt Labb 2 (part II: Git): Labbhandledning Checked on Git versions: 1.8.1.2 Lab Exercise Part II: Git: A distributed
Version Control! Scenarios, Working with Git!
Version Control! Scenarios, Working with Git!! Scenario 1! You finished the assignment at home! VC 2 Scenario 1b! You finished the assignment at home! You get to York to submit and realize you did not
An Introduction to Git Version Control for SAS Programmers
ABSTRACT An Introduction to Git Version Control for SAS Programmers Stephen Philp, Pelican Programming, Redondo Beach, CA Traditionally version control has been in the domain of the enterprise: either
Version control. HEAD is the name of the latest revision in the repository. It can be used in subversion rather than the latest revision number.
Version control Version control is a powerful tool for many kinds of work done over a period of time, including writing papers and theses as well as writing code. This session gives a introduction to a
Git - Working with Remote Repositories
Git - Working with Remote Repositories Handout New Concepts Working with remote Git repositories including setting up remote repositories, cloning remote repositories, and keeping local repositories in-sync
Putting It All Together. Vagrant Drush Version Control
Putting It All Together Vagrant Drush Version Control Vagrant Most Drupal developers now work on OSX. The Vagarant provisioning scripts may not work on Windows without subtle changes. If supplied, read
CS 2112 Lab: Version Control
29 September 1 October, 2014 Version Control What is Version Control? You re emailing your project back and forth with your partner. An hour before the deadline, you and your partner both find different
MATLAB @ Work. MATLAB Source Control Using Git
MATLAB @ Work MATLAB Source Control Using Git Richard Johnson Using source control is a key practice for professional programmers. If you have ever broken a program with a lot of editing changes, you can
UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division. P. N. Hilfinger
UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division CS 61B Fall 2012 P. N. Hilfinger Version Control and Homework Submission 1 Introduction Your
Version Control Using Subversion. Version Control Using Subversion 1 / 27
Version Control Using Subversion Version Control Using Subversion 1 / 27 What Is Version Control? Version control is also known as revision control. Version control is provided by a version control system
An Introduction to Mercurial Version Control Software
An Introduction to Mercurial Version Control Software LANS Weekly Seminar October 17, 2006 Satish Balay [email protected] Outline Why use version control? Simple example of revisioning Mercurial introduction
Working Copy 1.4 users manual
Working Copy 1.4 users manual Introduction 3 Cloning repositories 3 Accessing files 3 Committing changes 4 Staying up-to-date 4 Remotes 5 Clone catalog 5 SSH keys 6 Viewing and editing files 6 File changes
Introduc)on to Version Control with Git. Pradeep Sivakumar, PhD Sr. Computa5onal Specialist Research Compu5ng, NUIT
Introduc)on to Version Control with Git Pradeep Sivakumar, PhD Sr. Computa5onal Specialist Research Compu5ng, NUIT Contents 1. What is Version Control? 2. Why use Version control? 3. What is Git? 4. Create
Source Control Systems
Source Control Systems SVN, Git, GitHub SoftUni Team Technical Trainers Software University http://softuni.bg Table of Contents 1. Software Configuration Management (SCM) 2. Version Control Systems: Philosophy
Using Subversion in Computer Science
School of Computer Science 1 Using Subversion in Computer Science Last modified July 28, 2006 Starting from semester two, the School is adopting the increasingly popular SVN system for management of student
Version Control with Subversion and Xcode
Version Control with Subversion and Xcode Author: Mark Szymczyk Last Update: June 21, 2006 This article shows you how to place your source code files under version control using Subversion and Xcode. By
A Git Development Environment
A Git Development Environment Installing and using Git for Drupal and WordPress site development using Ubuntu/Mint and a Hostgator Reseller or VPS account. By: Andrew Tuline Date: February 7, 2014 Version:
Git Basics. Christian Hanser. Institute for Applied Information Processing and Communications Graz University of Technology. 6.
Git Basics Christian Hanser Institute for Applied Information Processing and Communications Graz University of Technology 6. March 2013 Christian Hanser 6. March 2013 Seite 1/39 Outline Learning Targets
Version Control Systems
Version Control Systems ESA 2015/2016 Adam Belloum [email protected] Material Prepared by Eelco Schatborn Today IntroducGon to Version Control Systems Centralized Version Control Systems RCS CVS SVN
Using Dedicated Servers from the game
Quick and short instructions for running and using Project CARS dedicated servers on PC. Last updated 27.2.2015. Using Dedicated Servers from the game Creating multiplayer session hosted on a DS Joining
Derived from Chris Cannam's original at, https://code.soundsoftware.ac.uk/projects/easyhg/wiki/sc2012bootcamppl an.
Version Control Key Points ========================== Mike Jackson, The Software Sustainability Institute. This work is licensed under the Creative Commons Attribution License. Copyright (c) Software Carpentry
Software Engineering Practices for Python
Software Engineering Practices for Python Coding Experiences Good development practices help with the following situations: You swear that the code worked perfectly 6 months ago, but today it doesn't,
Lab 0 (Setting up your Development Environment) Week 1
ECE155: Engineering Design with Embedded Systems Winter 2013 Lab 0 (Setting up your Development Environment) Week 1 Prepared by Kirill Morozov version 1.2 1 Objectives In this lab, you ll familiarize yourself
Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE
Source Code Management for Continuous Integration and Deployment Version 1.0 Copyright 2013, 2014 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed,
CPSC 491. Today: Source code control. Source Code (Version) Control. Exercise: g., no git, subversion, cvs, etc.)
Today: Source code control CPSC 491 Source Code (Version) Control Exercise: 1. Pretend like you don t have a version control system (e. g., no git, subversion, cvs, etc.) 2. How would you manage your source
Two Best Practices for Scientific Computing
Two Best Practices for Scientific Computing Version Control Systems & Automated Code Testing David Love Software Interest Group University of Arizona February 18, 2013 How This Talk Happened Applied alumnus,
CSE 374 Programming Concepts & Tools. Laura Campbell (Thanks to Hal Perkins) Winter 2014 Lecture 16 Version control and svn
CSE 374 Programming Concepts & Tools Laura Campbell (Thanks to Hal Perkins) Winter 2014 Lecture 16 Version control and svn Where we are Learning tools and concepts relevant to multi-file, multi-person,
Version Control with Git
Version Control with Git Claudius Coenen License: CC-BY-4.0 What We're Not Talking About Conceived by Linus Torvalds around 2005 Distributed Version Control vs. Central Version Control Why git is better
CISC 275: Introduction to Software Engineering. Lab 5: Introduction to Revision Control with. Charlie Greenbacker University of Delaware Fall 2011
CISC 275: Introduction to Software Engineering Lab 5: Introduction to Revision Control with Charlie Greenbacker University of Delaware Fall 2011 Overview Revision Control Systems in general Subversion
Mercurial. Why version control (Single users)
Mercurial Author: Hans Fangohr Date: 2008-05-21 Version: 033c85b22987 Id: talk.txt,v 033c85b22987 2008/05/21 08:42:42 fangohr Series: SESA2006 2008, last lecture Hint Adjust font-size
Introduction to Version Control with Git
Introduction to Version Control with Git Dark Cosmology Centre Niels Bohr Institute License Most images adapted from Pro Git by Scott Chacon and released under license Creative Commons BY-NC-SA 3.0. See
Version Control with Subversion
Version Control with Subversion Introduction Wouldn t you like to have a time machine? Software developers already have one! it is called version control Version control (aka Revision Control System or
Version Control with Git
Version Control with Git Ben Wasserman ([email protected]) 15-441 Computer Networks Recitation 3 1/28 What is version control? Revisit previous code versions Backup projects Work with others Find where
Setting up a local working copy with SVN, MAMP and rsync. Agentic - 2009
Setting up a local working copy with SVN, MAMP and rsync Agentic - 2009 Get MAMP You can download MAMP for MAC at this address : http://www.mamp.info/en/downloads/index.html Install MAMP in your APPLICATION
Making a Website with Hoolahoop
Making a Website with Hoolahoop 1) Open up your web browser and goto www.wgss.ca/admin (wgss.hoolahoop.net temporarily) and login your the username and password. (wgss.ca is for teachers ONLY, you cannot
Version Control for Computational Economists: An Introduction
Version Control for Computational Economists: An Introduction Jake C. Torcasso April 3, 2014 Starting Point A collection of files on your computer Changes to files and new files over time Interested in
Using SVN to Manage Source RTL
Using SVN to Manage Source RTL CS250 Tutorial 1 (Version 092509a) September 25, 2009 Yunsup Lee In this tutorial you will gain experience using the Subversion (SVN) to manage your source RTL and code.
Version Control Tutorial using TortoiseSVN and. TortoiseGit
Version Control Tutorial using TortoiseSVN and TortoiseGit Christopher J. Roy, Associate Professor Virginia Tech, [email protected] This tutorial can be found at: www.aoe.vt.edu/people/webpages/cjroy/software-resources/tortoise-svn-git-tutorial.pdf
Installing buzztouch Self Hosted
Installing buzztouch Self Hosted This step-by-step document assumes you have downloaded the buzztouch self hosted software and operate your own website powered by Linux, Apache, MySQL and PHP (LAMP Stack).
Annoyances with our current source control Can it get more comfortable? Git Appendix. Git vs Subversion. Andrey Kotlarski 13.XII.
Git vs Subversion Andrey Kotlarski 13.XII.2011 Outline Annoyances with our current source control Can it get more comfortable? Git Appendix Rant Network traffic Hopefully we have good repository backup
Dalhousie University CSCI 2132 Software Development Winter 2015 Lab 7, March 11
Dalhousie University CSCI 2132 Software Development Winter 2015 Lab 7, March 11 In this lab, you will first learn how to use pointers to print memory addresses of variables. After that, you will learn
Parallels. for your Linux or Windows Server. Small Business Panel. Getting Started Guide. Parallels Small Business Panel // Linux & Windows Server
Getting Started Guide Parallels Small Business Panel for your Linux or Windows Server Getting Started Guide Page 1 Getting Started Guide: Parallels Small Business Panel, Linux & Windows Server Version
Revision control systems (RCS) and
Revision control systems (RCS) and Subversion Problem area Software projects with multiple developers need to coordinate and synchronize the source code Approaches to version control Work on same computer
Git, GitHub & Web Hosting Workshop
Git, GitHub & Web Hosting Workshop WTM Hamburg Git, GitHub & Web Hosting Documentation During our Workshops we re going to develop parts of our WTM Hamburg Website together. At this point, we ll continue
How to set up SQL Source Control. The short guide for evaluators
How to set up SQL Source Control The short guide for evaluators Content Introduction Team Foundation Server & Subversion setup Git setup Setup without a source control system Making your first commit Committing
Google Drive: Access and organize your files
Google Drive: Access and organize your files Use Google Drive to store and access your files, folders, and Google Docs, Sheets, and Slides anywhere. Change a file on the web, your computer, tablet, or
Continuous Integration. CSC 440: Software Engineering Slide #1
Continuous Integration CSC 440: Software Engineering Slide #1 Topics 1. Continuous integration 2. Configuration management 3. Types of version control 1. None 2. Lock-Modify-Unlock 3. Copy-Modify-Merge
Writing R packages. Tools for Reproducible Research. Karl Broman. Biostatistics & Medical Informatics, UW Madison
Writing R packages Tools for Reproducible Research Karl Broman Biostatistics & Medical Informatics, UW Madison kbroman.org github.com/kbroman @kwbroman Course web: kbroman.org/tools4rr R packages and the
Remote Access to Unix Machines
Remote Access to Unix Machines Alvin R. Lebeck Department of Computer Science Department of Electrical and Computer Engineering Duke University Overview We are using OIT Linux machines for some homework
My Secure Backup: How to reduce your backup size
My Secure Backup: How to reduce your backup size As time passes, we find our backups getting bigger and bigger, causing increased space charges. This paper takes a few Newsletter and other articles I've
PORTAL ADMINISTRATION
1 Portal Administration User s Guide PORTAL ADMINISTRATION GUIDE Page 1 2 Portal Administration User s Guide Table of Contents Introduction...5 Core Portal Framework Concepts...5 Key Items...5 Layouts...5
Troubleshooting / FAQ
Troubleshooting / FAQ Routers / Firewalls I can't connect to my server from outside of my internal network. The server's IP is 10.0.1.23, but I can't use that IP from a friend's computer. How do I get
Distributed Version Control with Mercurial and git
OpenStax-CNX module: m37404 1 Distributed Version Control with Mercurial and git Hannes Hirzel This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Abstract
Getting Started with Dynamic Web Sites
PHP Tutorial 1 Getting Started with Dynamic Web Sites Setting Up Your Computer To follow this tutorial, you ll need to have PHP, MySQL and a Web server up and running on your computer. This will be your
Installing an open source version of MateCat
Installing an open source version of MateCat This guide is meant for users who want to install and administer the open source version on their own machines. Overview 1 Hardware requirements 2 Getting started
Using Git for Centralized and Distributed Version Control Workflows - Day 3. 1 April, 2016 Presenter: Brian Vanderwende
Using Git for Centralized and Distributed Version Control Workflows - Day 3 1 April, 2016 Presenter: Brian Vanderwende Git jargon from last time... Commit - a project snapshot in a repository Staging area
Double Feature Talk. 1) Intro to SSL 2) Git Basics for Devs & Designers
Double Feature Talk 1) Intro to SSL 2) Git Basics for Devs & Designers SSL Intro to SSL Why should you care? No ecommerce? Data security + SEO benefit. ecommerce via WP? 100% requirement SSL in 15 minutes
Training module 2 Installing VMware View
Training module 2 Installing VMware View In this second module we ll install VMware View for an End User Computing environment. We ll install all necessary parts such as VMware View Connection Server and
Using SVN to Manage Source RTL
Using SVN to Manage Source RTL CS250 Tutorial 1 (Version 083010a) August 30, 2010 Yunsup Lee In this tutorial you will gain experience using the Subversion (SVN) to manage your source RTL and code. You
Developer Workshop 2015. Marc Dumontier McMaster/OSCAR-EMR
Developer Workshop 2015 Marc Dumontier McMaster/OSCAR-EMR Agenda Code Submission 101 Infrastructure Tools Developing OSCAR Code Submission: Process OSCAR EMR Sourceforge http://www.sourceforge.net/projects/oscarmcmaster
Dry Dock Documentation
Dry Dock Documentation Release 0.6.11 Taylor "Nekroze" Lawson December 19, 2014 Contents 1 Features 3 2 TODO 5 2.1 Contents:................................................. 5 2.2 Feedback.................................................
Introduction to Version Control with Git
Introduction to Version Control with Git Dark Cosmology Centre Niels Bohr Institute License All images adapted from Pro Git by Scott Chacon and released under license Creative Commons BY-NC-SA 3.0. See
Git. A Distributed Version Control System. Carlos García Campos [email protected]
Git A Distributed Version Control System Carlos García Campos [email protected] Carlos García Campos [email protected] - Git 1 A couple of Quotes For the first 10 years of kernel maintenance, we literally
Git in control of your Change Management
Synopsis Git in control of your Change Management Git is a free Version Control System. It is designed for use by software developers, and quite popular for that purpose. The essence of Version Control
Frequently Asked Questions
Frequently Asked Questions Share Drive Frequently Asked Questions Table of Contents How do I change my password?... How do I reset my password if I forgot it?... How do I share files/folders with Groups
Version control with Subversion
Version control with Subversion Davor Cubranic Grad Seminar October 6, 2011 With searching comes loss And the presence of absence: My Thesis not found. Version Control A tool for managing changes to a
CSCB07 Software Design Version Control
CSCB07 Software Design Version Control Anya Tafliovich Fall 2015 Problem I: Working Solo How do you keep track of changes to your program? Option 1: Don t bother Hope you get it right the first time Hope
How To Set Up Dataprotect
How To Set Up Dataprotect This document will show you how to install and configure your computer for a Typical installation. If you have questions about configuring a Custom installation please contact
Using Microsoft Azure for Students
Using Microsoft Azure for Students Dive into Azure through Microsoft Imagine s free new offer and learn how to develop and deploy to the cloud, at no cost! To take advantage of Microsoft s cloud development
Cloud Server powered by Mac OS X. Getting Started Guide. Cloud Server. powered by Mac OS X. AKJZNAzsqknsxxkjnsjx Getting Started Guide Page 1
Getting Started Guide Cloud Server powered by Mac OS X Getting Started Guide Page 1 Getting Started Guide: Cloud Server powered by Mac OS X Version 1.0 (02.16.10) Copyright 2010 GoDaddy.com Software, Inc.
So you want to create an Email a Friend action
So you want to create an Email a Friend action This help file will take you through all the steps on how to create a simple and effective email a friend action. It doesn t cover the advanced features;
