-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
29 lines (21 loc) · 828 Bytes
/
.gitattributes
File metadata and controls
29 lines (21 loc) · 828 Bytes
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
# Navigate to the folder where you want to create the repository
cd path/to/folder
# Initialize a Git repository
git init lorem-commit
# Navigate into the repository
cd lorem-commit
# Download the index.html file from Itslearning and place it in the repository folder
# (Assuming you have already downloaded the file)
# Stage and commit the index.html file
git add index.html
git commit -m "Index added"
# Connect the local repository to the remote repository on GitHub
git remote add origin https://github.com/Anwar076/lorem-commit.git
git push -u origin master
# Make changes to the index.html file
# (Assuming you have already made the changes to the file)
# Stage and commit the changes
git add index.html
git commit -m "Made changes to index.html"
# Push the changes to the remote repository
git push origin master