-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathGIT_Day 04.txt
39 lines (25 loc) · 1001 Bytes
/
GIT_Day 04.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
GIT & GITHUB_Day 04
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BRANCHES
-------------------------------
Netflix
movies ----> dev 1
documentaries ----> dev 2
animies ----> dev 3
series ----> dev 4
To create a branch ----> git branch <BranchName>
To see the list of branches ----> git branch
To switch from one branch to another branch ----> git checkout <BranchName>
.gitignore
Renaming a branch
Pull request
webseries (21 files) ----> movies (5 files)
Deleting a branch
Git Merge and Git Rebase
Merge will show files, rebase will not show the files
Merge will show the entire history, rebase will not show the history
Merge will not show branches, rebase will show branches
Creating a branch in the GitHub
***********************************
reset options and revert.
***********************************