Discord-Bot-Python/readme.md

47 lines
1.1 KiB
Markdown
Raw Normal View History

2023-01-23 12:19:42 +00:00
---------------------------------------------------------------------------------------
Clone this repository Need help cloning? Visit Help.
https://git.codingvm.codes/dieantwoord/Discord-Bot-Python.git
---------------------------------------------------------------------------------------
Creating a new repository on the command line
2023-01-23 12:22:57 +00:00
```
2023-01-23 12:23:48 +00:00
touch README.md
2023-01-23 12:24:16 +00:00
```
```
2023-01-23 12:23:48 +00:00
git init
```
```
2023-01-23 12:19:42 +00:00
git checkout -b main
2023-01-23 12:23:48 +00:00
```
```
2023-01-23 12:19:42 +00:00
git add README.md
2023-01-23 12:23:48 +00:00
```
```
2023-01-23 12:22:00 +00:00
git commit -a -m "first commit"
2023-01-23 12:23:48 +00:00
```
```
2023-01-23 12:19:42 +00:00
git remote add origin https://git.codingvm.codes/dieantwoord/Discord-Bot-Python.git
2023-01-23 12:23:48 +00:00
```
```
2023-01-23 12:19:42 +00:00
git push -u origin main
2023-01-23 12:22:57 +00:00
```
2023-01-23 12:19:42 +00:00
---------------------------------------------------------------------------------------
Pushing an existing repository from the command line
2023-01-23 12:25:01 +00:00
```
2023-01-23 12:19:42 +00:00
git remote add origin https://git.codingvm.codes/dieantwoord/Discord-Bot-Python.git
2023-01-23 12:25:01 +00:00
```
```
2023-01-23 12:19:42 +00:00
git push -u origin main
2023-01-23 12:25:01 +00:00
```
2023-01-23 12:22:00 +00:00
---------------------------------------------------------------------------------------
Update changes
2023-01-23 12:25:01 +00:00
```
2023-01-23 12:22:57 +00:00
git commit -a -m "Update to main"
2023-01-23 12:25:01 +00:00
```
```
2023-01-23 12:22:00 +00:00
git push -u origin main
2023-01-23 12:25:01 +00:00
```
2023-01-23 12:22:00 +00:00
---------------------------------------------------------------------------------------