This is a pity of Github diploma in computer engineering and its help to do presenting your skills and your ability to showcase of any people in the world
Gall bladder, Small intestine and Large intestine.pptxrekhapositivity
Ad
Git-GitHub.ppt Diploma in computer. engineering
1. Workflow
an opinionated discussion
Grad Student, MIMS’14
Shreyas
seekshreyas
some slides adopted from and inspired by Scott Schacon’s
https://github.com/schacon/git-presentations
7. git
git is an open source,
distributed version control
system designed for speed
and efficiency
8. git
git is an open source,
distributed version control
system designed for speed
and efficiency
9. git
git is an open source,
distributed version control
system designed for speed
and efficiency
10. git
git is an open source,
distributed version control
system designed for speed
and efficiency
(almost) everything is local
11. No Network needed for
(almost) everything is local
• Performing a diff
• Viewing file history
• Committing changes
• Merging branches
• Obtaining any other revision of a file
• Switching branches
12. git
git is an open source,
distributed version control
system designed for speed
and efficiency
http://bit.ly/git-linus-intro
ttp://bit.ly/git-advantages
More Advantages
24. Git Commands
$ git reset --soft HEAD^
• Creating New
Repo
• Committing
• Branching/
Merging
• Updating
• Inspection
• Cloning A Repo
(undo a commit and
redo)
$ git reset --hard
HEAD~3
Rewind the branch to get rid of last three commits
http://git-scm.com/docs/git-r
eset
http://git-scm.com/docs/git-rev
ert.html
learn more here :
also refer
git revert :
http://git-scm.com/docs/git-sta
sh
git stash :
25. Git Commands
$ git rm <filename>
• Creating New
Repo
• Committing
• Branching/
Merging
• Inspection
• Cloning a Repo
• Updating
remove a file from the
repo
as expected, you will need to commit the
change
$ git mv <filename>
move/rename a file from the repo
as expected, you will need to commit the
change
26. Git Commands
$ git branch
• Creating New
Repo
• Committing
• Branching/
Merging
• Inspection
• Cloning a Repo
• Updating
list of branches
$ git branch
<branchname>
new branch
$ git checkout
<branchname>
switch
27. Git Commands
• Creating New
Repo
• Committing
• Branching/
Merging
• Inspection
• Cloning a Repo
• Updating
new branch
dev
switch branch
branch list
#11: (almost) everything is local... branching, merging etc
#12: (almost) everything is local... branching, merging etc
#13: initially created by Linus Torvalds, now supported by a huge open source community ... field tested with Linux Kernel
#14: You don’t have to go ask someone to create a branch for you, or create a repo for you or request a branch merge.. you do as you please with YOUR copy.
#15: We’ll be using the git command line interface, but feel free to choose your preferred solution GUIs, Editor Extension etc
#23: Although, I like working in small steps, here are some shortcuts
git commit -m “<your msg>” [doesn’t open up the editor for msg]
git commit -am “<your msg>” [adds the files tracked and uses msg on command-line]