How to get free YouTube subscribers, likes and views?
Get Free YouTube Subscribers, Views and Likes

Introduction to Git - Remotes

Follow
David Mahler

Introduction to Git Remotes.
Twitter: @davidmahler
LinkedIn:   / davidmahler  

Introduction to Git Core Concepts:    • Introduction to Git  Core Concepts  
Introduction to Git Branching and Merging:    • Introduction to Git  Branching and M...  

SSH key authentication in GitHub: https://help.github.com/articles/conn...
Pro Git Book by Scott Chacon: https://gitscm.com/book/en/v2

Commands used:
Retrieve/Clone a repo = git clone (URL)
List remotes = git remote (v for detail)
Commit graph = git log all decorate oneline graph
Checkout a branch = git checkout
Create and checkout a branch = git checkout b (branch name)
Retrieve/download from a remote = git fetch (remote name)
merge branch or trackingbranch = git merge (branch or tracking branch name)
Show status = git status
Upload to a remote = git push (remote name) (branch name)
stage an edit = git add (filename)
make a commit = git commit m "description"
stage and commit = git commit a m "description"
List local branches = git branch
List remote branches = git branch r
List both local and remote branches = git branch a

posted by fishpaste166re