-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit
More file actions
21 lines (15 loc) · 750 Bytes
/
git
File metadata and controls
21 lines (15 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Git1: There was a time when apps were extremely buggy. People decided they needed backups! Version control, gives ability to revert to any state you want (before the adding login feature, previous version, etc)
commands:
init, status, add, commit, checkout,
Concepts:
staged change, commitIds
Git2:
Commands:
branch, log,
Concepts:
Branch
What is branch
Remote:
ssh-key, allows communication with your computer and identification. Sites such as Github, Gitlab, BitBucket are git compatible and allow for storage of new code versions.
Stage: stage change between add and commit
Rebase master: Find common common commit Id between master and current branch. Apply all of the new commits in master branch. Apply current branch’s commits.