You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.4 KiB
25 lines
1.4 KiB
|
|
|
|
|
|
┏━┓╺┳╸┏━┓┏━╸╻┏┓╻┏━╸ ┏━┓┏━┓┏━╸┏━┓
|
|
┗━┓ ┃ ┣━┫┃╺┓┃┃┗┫┃╺┓ ┣━┫┣┳┛┣╸ ┣━┫
|
|
┗━┛ ╹ ╹ ╹┗━┛╹╹ ╹┗━┛ ╹ ╹╹┗╸┗━╸╹ ╹
|
|
|
|
|
|
|
|
- first main difference to SVN
|
|
- advantage of git
|
|
|
|
Files can be:
|
|
|
|
┌─────────┐ ┌──────────┐ ┌────────┐ ┌──────┐ ┌────────┐
|
|
│Untracked│ │Unmodified│ │Modified│ │Staged│ │Commited│
|
|
└─────────┘ └──────────┘ └────────┘ └──────┘ └────────┘
|
|
|
|
Git manages these states as:
|
|
|
|
┌─────────────────┐ ┌─────┐ ┌────┐
|
|
│Working Directory│ │Index│ │HEAD│
|
|
└─────────────────┘ └─────┘ └────┘
|
|
Your Sandbox The proposed The next
|
|
next commit parent
|