it's the social version of git
a remote repo
showcases your portfolio
Your code is public facing and anyone can get their grimy hands on them (forking)* unless paid
Security risk if you push your private api keys ** (use .gitignore file)
Preference for Visual Studio Team Services
(similar to git, but free private repos)
https://www.visualstudio.com/team-services/
the remote repo is now known as the "origin"
(it's an alias for the cloned repo)
D:\code> git remote -v
origin https://pmgl.visualstudio.com/_git/repo (fetch)
origin https://pmgl.visualstudio.com/_git/repo (push)
master branch is the default branch
a branch is a pointer to a snapshot of your code commit
Two or more developers can work on separate branches of the same code and not have any conflict.
Set up a new branch : git branch [branch name]
Switch to a branch : git checkout [branch name]
List Branches : git branch
"git status"
"git add ." //adds to staged
"git commit -am" first commit"
"git push"
"git status"
"git add ." //adds to staged
"git commit -m" first commit" // local repo
"git push" //remote repo
PUSH
"git status"
"git pull"
PULL
“When you access AWS programmatically, you verify your identity and the identity of your applications by using an access key. (something like wJalrXUtnFEMIK7MDENGbPxRfiCYEXAMPLE)
Text
use .gitignore file
Text
use IAM tools
don't use github