-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitInfo.js
83 lines (66 loc) · 2.96 KB
/
gitInfo.js
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
For this section of the assessment you will be putting together a cheat sheet for common git commands.
You'll provide the command as well as what it does.
*/
//////////////////PROBLEM 1////////////////////
/*
Create a variable called 'gitDefinition'.
It should be a string containing your best definition of what Git is.
*/
//CODE HERE
let gitDefinition = "Git is the process that's developer using for record something changes to files over the time."
//////////////////PROBLEM 2////////////////////
/*
Create a variable called 'gitHubDefinition'.
It should be a string containing your best definition of what GitHub is.
*/
//CODE HERE
let gitHubDefinition = "GitHub is the process that allow us to upload something store in cloud (github.com)."
//////////////////PROBLEM 3////////////////////
/*
Create a variable called 'gitInitDefinition'.
It should be a string containing your best definition of what 'git init' does.
*/
//CODE HERE
let gitInitDefinition = "We try to create empty git repository in local machine."
//////////////////PROBLEM 4////////////////////
/*
Create a variable called 'gitCloneDefinition'.
It should be a string containing your best definition of what 'git clone' does.
*/
//CODE HERE
let gitCloneDefinition = "We try to clone something from github repository into local machine, so we can to do something."
//////////////////PROBLEM 5////////////////////
/*
Create a variable called 'gitStatusDefinition'.
It should be a string containing your best definition of what 'git status' does.
*/
//CODE HERE
let gitStatusDefinition = "Allow us to see something that we are working, What are you changing? What are the files that you was modified."
//////////////////PROBLEM 6////////////////////
/*
Create a variable called 'gitAddDefinition'.
It should be a string containing your best definition of what 'git add' does.
Create another variable called 'gitAddCode'.
It should be a string containing the code to add all files.
*/
//CODE HERE
let gitAddDefinition = "Allow us added something from local machine before commit or push to github."
let gitAddCode = "git add ."
//////////////////PROBLEM 7////////////////////
/*
Create a variable called 'gitCommitDefinition'.
It should be a string containing your best definition of what 'git commit' does.
Create a variable called 'gitCommitCode'.
It should be a string containing the code to commit using the message "initial commit".
*/
//CODE HERE
let gitCommitDefinition = "Try to commit something that we added or modified into local machine before push to github."
let gitCommitCode = "git commit -m 'initial commit'"
//////////////////PROBLEM 8////////////////////
/*
Create a variable called 'gitPushDefinition'.
It should be a string containing your best definition of what 'git push' does.
*/
//CODE HERE
let gitPushDefinition = "We try to push something after we added or modified between local machine into cloud github. "