-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
136 lines (103 loc) · 4.06 KB
/
index.html
File metadata and controls
136 lines (103 loc) · 4.06 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html>
<head>
<title>Git Repository Creation</title>
</head>
<body>
<p>Open git bash with the project folder as root</p>
<p>echo "# howToCreateGitRepo" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/Deepa-Ck/howToCreateGitRepo.git
git push -u origin master</p>
<h1>
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git init
Initialized empty Git repository in C:/Users/404549/Desktop/GitRepo/.git/
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git commit -m "first-commit"
On branch master
Initial commit
Untracked files:
index.html
nothing added to commit but untracked files present
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git remote add origin https://github.com/Deepa-Ck/howToCreateGitRepo.git
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git push -u origin master
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/Deepa-Ck/howToCreateGitRepo.git'
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git push index.html master
error: src refspec master does not match any.
error: failed to push some refs to 'index.html'
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git status
On branch master
Initial commit
Untracked files:
(use "git add <file>..." to include in what will be committed)
index.html
nothing added to commit but untracked files present (use "git add" to track)
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git config user.email "deepack.2010@gmail.com"
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git config user.name "Deepa-CK"
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git push index.html master
error: src refspec master does not match any.
error: failed to push some refs to 'index.html'
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git push https://github.com/Deepa-Ck/howToCreateGitRepo.git master
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/Deepa-Ck/howToCreateGitRepo.git'
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git add index.html
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: index.html
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git push https://github.com/Deepa-Ck/howToCreateGitRepo.git master
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/Deepa-Ck/howToCreateGitRepo.git'
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ gitk
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git config --global http.sslVerify false
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git config --global https.sslVerify false
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git config --global http.proxy http://proxy.cognizant.com:6050
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git config --global http.proxy http://proxy.cognizant.com:6050
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git push https://github.com/Deepa-Ck/howToCreateGitRepo.git master
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/Deepa-Ck/howToCreateGitRepo.git'
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git commit -m "first-commit"
[master (root-commit) d709c87] first-commit
1 file changed, 15 insertions(+)
create mode 100644 index.html
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$ git push https://github.com/Deepa-Ck/howToCreateGitRepo.git master
Username for 'https://github.com': Deepa-Ck
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 436 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/Deepa-Ck/howToCreateGitRepo.git
* [new branch] master -> master
404549@PC269925 MINGW32 ~/Desktop/GitRepo (master)
$
</h1>
</body>
</html>