Skip to content

Commit d14d769

Browse files
committed
Added Content
1 parent f73d85a commit d14d769

File tree

5 files changed

+61
-2
lines changed

5 files changed

+61
-2
lines changed

Module Assesment 1.txt

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Module 1 Assessment
2+
TOTAL POINTS 17
3+
4+
1. Which one of these statements about Git is true?:-
5+
Git helps manage the history of the project.
6+
7+
2. Which one of these statements about branches is true?
8+
The default branch is named "master".
9+
10+
3. What is a request to merge your branch into another branch called?:-
11+
Pull request
12+
13+
4. If a remote repository is offline, which one of the following is true?:-
14+
You can continue to work with the local repository.
15+
16+
5. Which one of the following is true?:-
17+
Git implements distributed version control.
18+
19+
## Test Next time
20+
6. Which one of these statements about commits is true?:-
21+
A commit is a snapshot of the project.
22+
23+
7. Which location contains the list of files that will be included in the next commit?:-
24+
Staging area
25+
26+
8. Which location contains the commit history of a project?:-
27+
Remote repository
28+
29+
9. When a file is first placed in the working tree, what is its status?:-
30+
Untracked
31+
32+
10. What must you do to add a new file to the next commit?
33+
Add the file to the staging area.
34+
35+
11. If you create a local repository in a folder with existing files, what will be the status of the files?:-
36+
Untracked
37+
38+
12. Immediately after you commit, where is the commit located?:-
39+
Local repository
40+
41+
13. Which one of these statements about remote repositories is true?:-
42+
By convention, remote repository names end in ".git".
43+
44+
14. What is a local copy of a remote repository called?:-
45+
Clone
46+
47+
15. After you clone a repository, which one of the following is true?:-
48+
The remote repository information is available in the local repository.
49+
50+
16. What is origin?:-
51+
An alias for the remote repository's URL.
52+
53+
54+
17. What must you do to add a local commit to the remote repository?:-
55+
Push
56+
57+

README.md

Whitespace-only changes.
147 KB
Binary file not shown.

git-using-source-tree/week 1/push.pdf

148 KB
Binary file not shown.

push for github.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ or create a new repository on the command line
55
git commit -m "first commit"
66
git branch -M main
77
git remote add origin https://github.com/username/Github-repo-name.git
8-
git push -u origin main
8+
git push -u origin master
9+
910
…or push an existing repository from the command line
1011
git remote add origin https://github.com/username/Github-repo-name.git
1112
git branch -M main
12-
git push -u origin main
13+
git push -u origin master
14+
1315
…or import code from another repository
1416
You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

0 commit comments

Comments
 (0)