Discord-Bot-Python/readme.md

47 lines
1.1 KiB
Markdown
Raw Normal View History

2023-01-23 07:19:42 -05: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 07:22:57 -05:00
```
2023-01-23 07:23:48 -05:00
touch README.md
2023-01-23 07:24:16 -05:00
```
```
2023-01-23 07:23:48 -05:00
git init
```
```
2023-01-23 07:19:42 -05:00
git checkout -b main
2023-01-23 07:23:48 -05:00
```
```
2023-01-23 07:19:42 -05:00
git add README.md
2023-01-23 07:23:48 -05:00
```
```
2023-01-23 07:22:00 -05:00
git commit -a -m "first commit"
2023-01-23 07:23:48 -05:00
```
```
2023-01-23 07:19:42 -05:00
git remote add origin https://git.codingvm.codes/dieantwoord/Discord-Bot-Python.git
2023-01-23 07:23:48 -05:00
```
```
2023-01-23 07:19:42 -05:00
git push -u origin main
2023-01-23 07:22:57 -05:00
```
2023-01-23 07:19:42 -05:00
---------------------------------------------------------------------------------------
Pushing an existing repository from the command line
2023-01-23 07:25:01 -05:00
```
2023-01-23 07:19:42 -05:00
git remote add origin https://git.codingvm.codes/dieantwoord/Discord-Bot-Python.git
2023-01-23 07:25:01 -05:00
```
```
2023-01-23 07:19:42 -05:00
git push -u origin main
2023-01-23 07:25:01 -05:00
```
2023-01-23 07:22:00 -05:00
---------------------------------------------------------------------------------------
Update changes
2023-01-23 07:25:01 -05:00
```
2023-01-23 07:22:57 -05:00
git commit -a -m "Update to main"
2023-01-23 07:25:01 -05:00
```
```
2023-01-23 07:22:00 -05:00
git push -u origin main
2023-01-23 07:25:01 -05:00
```
2023-01-23 07:22:00 -05:00
---------------------------------------------------------------------------------------