This is a code example
WIP ssh keys, connect github, email, username...
A: Is a distributed version control system. The place where all code is stored is called a repository, in the context of git distributed system every computer that has downloaded the repository has a full copy, that means you could do work without being connected to a centralized server.
A: Because tracking changes to files is very difficult and it's difficult as a solo programmer, it's even harder when you're working in a team.
A: Installation varies depending the OS, remember to install git gitbash in Windows
A: Is another place to have another copy of the repository, particularly one that it is accessible to any system usually they're used as the master copy of the repository. It is not necessary but it can be quite convinient.
A: git clone [email protected]:engineer-man/piston.git
A: Typing git status
A: There are multiple ways, if you want to create a new repo
git init inside the project
if you want to create a new project
git init <projectName>
A: git pull
| Command | Use |
git clone {repoURL} |
When you |
git remote |
If you're making a repo from scratch you need to add
your own origin you can do it with the command |
git status |
Tells us, what branch we're one and show us what files in the repository have changed and are ready to be commited |
git branch, checkout |
|
git add, commit |
|
git push, pull, fetch |
|
git merge |
|
git log |
|
git diff |
|
git clone, remote |