/
Lecture Lecture

Lecture - PowerPoint Presentation

pamella-moone
pamella-moone . @pamella-moone
Follow
370 views
Uploaded On 2016-07-02

Lecture - PPT Presentation

6 Stashing Sign in on the attendance sheet Gitstache Scenario you want to switch branches but you have uncommitted changes What if you dont want to commit git stash Example use g ID: 387191

stashed stash git depth stash stashed depth git change stack show pop apply reapplies pseudo commit list removes drop

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Lecture" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Lecture 6Midsemester ReviewSlide2

What We’ve Learned So FarCreating and cloning repositories

git

init

, git clone

Linear commit histories and diffs

git log, git show, git diff

Using the working directory and staging area and making commits

git add, git reset, git checkout, git commit

Using branches

git branch, git checkout, git merge

How Git’s model for commit histories worksSlide3

Midterm ReviewSlide4

SummaryConfiguring remotes:git remote [-v] – lists remotes [verbosely]git remote add <

remotename

> <

remoteurl

> - configure a new remote

git

branch –r or –a – lists branches including remote tracking

Fetching:

git

fetch <

remotename

> - downloads updates to all remote-tracking branches to match the remote

git

pull <

remotename

> - runs `

git

fetch`, then merges in updates to the current branch

Pushing:

git

push <

remotename

> <

branchname

> - uploads changes in your branches to the remoteSlide5

Questions so far?