-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
041d732
commit fd5f96b
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Navigate to your project directory | ||
cd path/to/your/project | ||
|
||
# Initialize a new Git repository (if not already done) | ||
git init | ||
|
||
# Create a .gitignore file and add content | ||
echo "## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.rsuser | ||
*.suo | ||
*.user | ||
*.userosscache | ||
*.sln.docstates | ||
|
||
# User-specific files (Mono Auto Generated) | ||
mono_crash.* | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
[Dd]ebugPublic/ | ||
[Rr]elease/ | ||
[Rr]eleases/ | ||
x64/ | ||
x86/ | ||
[Aa][Rr][Mm]/ | ||
[Aa][Rr][Mm]64/ | ||
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
[Ll]og/ | ||
.vs/ | ||
.vscode/" > .gitignore | ||
|
||
# Add all files to the staging area | ||
git add . | ||
|
||
# Commit the changes | ||
git commit -m "Add .gitignore file" | ||
|
||
# Add the remote repository URL (replace with your repository URL) | ||
git remote add origin https://github.com/yourusername/your-repo-name.git | ||
|
||
# Push the code to the master branch on GitHub | ||
git push -u origin master |