Skip to content

Commit fd5f96b

Browse files
authored
Create .gitignore
1 parent 041d732 commit fd5f96b

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Navigate to your project directory
2+
cd path/to/your/project
3+
4+
# Initialize a new Git repository (if not already done)
5+
git init
6+
7+
# Create a .gitignore file and add content
8+
echo "## Ignore Visual Studio temporary files, build results, and
9+
## files generated by popular Visual Studio add-ons.
10+
11+
# User-specific files
12+
*.rsuser
13+
*.suo
14+
*.user
15+
*.userosscache
16+
*.sln.docstates
17+
18+
# User-specific files (Mono Auto Generated)
19+
mono_crash.*
20+
21+
# Build results
22+
[Dd]ebug/
23+
[Dd]ebugPublic/
24+
[Rr]elease/
25+
[Rr]eleases/
26+
x64/
27+
x86/
28+
[Aa][Rr][Mm]/
29+
[Aa][Rr][Mm]64/
30+
bld/
31+
[Bb]in/
32+
[Oo]bj/
33+
[Ll]og/
34+
.vs/
35+
.vscode/" > .gitignore
36+
37+
# Add all files to the staging area
38+
git add .
39+
40+
# Commit the changes
41+
git commit -m "Add .gitignore file"
42+
43+
# Add the remote repository URL (replace with your repository URL)
44+
git remote add origin https://github.com/yourusername/your-repo-name.git
45+
46+
# Push the code to the master branch on GitHub
47+
git push -u origin master

0 commit comments

Comments
 (0)