Skip to content

Instantly share code, notes, and snippets.

@praveencs87
Created August 31, 2019 07:02
Show Gist options
  • Save praveencs87/f8021f0c2cbb6481fca9f3930844a9ff to your computer and use it in GitHub Desktop.
Save praveencs87/f8021f0c2cbb6481fca9f3930844a9ff to your computer and use it in GitHub Desktop.
Git Training
Repositories (forking and cloning and the difference between them)
How to create
What are README files
How to read other people's repositories
gitignore files
Why it is required?
What are important things to put in it?
Logs
Compiled Binaries
Coverage Reports
Intermediate Files
Commits
What is a commit
Why commit often and in a logically coherent units
Difference between staging area, index area, and, working directory commit
Conventions to follow during a commit
Searching through a commit
Branching and Merging
Branch as an abstraction unit
Why branching is required?
How it handles features and allows multiple people to work on the same repo without collisions.
Checkout a branch
Conventions to follow for a branch name
Why master exists
HEAD and branch references
Reset
What is a reset?
Difference between hard, soft, and mixed reset.
When to do reset?
Stashing
Why stashing is required?
How to keep stashes of files
How to pop them back
Issues and Pull requests (Github)
What is an issue?
Atomic PRs
How to create an issue
How to assign it to a member?
How to create a Pull Request referencing that issue
How to review a PR
Git commands ( with common flags )
init
clone
add
commit
remote
pull ( vs fetch and its difference)
push
merge
branch
checkout
status
diff
log
Git Rebase
Why Rebase (vs merge)
Interactive rebase options
Rebase [ Udacity's GitHub and Collaboration Course by Richard Kalehoff ]
Git team workflows: Merge or Rebase
Merging vs Rebasing
How to rebase and update a pull request
Rebase and merge pull requests
Commit message style guides
Udacity Commit Message Style Guide
Atomic commits
Git Resources
Git Cheat Sheet
Getting Started With Version Control
Basics - Learn To Love Git
Try Git tutorial
gitignore files
Understand branching and merge
Using Branches
Creating new branch and managing branches
Git branch tutorial
Github issues and pull Requests
Git commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment