git commit -m"I have done this and that" ./meep.py
```
***push** commits:
```bash
git push
```
***merge** commits:
```bash
git merge
```
* check **status** of repo:
```bash
git status
```
***delete uncommited** changes:
```bash
git checkout .
```
***update forked** repo:
***update forked** repo:
```git fetch upstream```
```bash
```git merge upstream/master```
git fetch upstream
```
```bash
git merge upstream/master
```
## Merge messages
## Merge messages
Usually, after the ```git merge```, git will open a text editor where you can type in a **commit message**, git suggests a message like ```Merge branch 'master' of https://www.github.com:*yourname*/Python_course.git```. That is the description of your commit. In Windows, this should be ***notepad*** which is pretty easy to handle. In the Linux terminal, the text editors can be a bit more difficult to handle because they work only with keyboard and not with a mouse.
Usually, after the `git merge`, git will open a text editor where you can type in a **commit message**, git suggests a message like ```Merge branch 'master' of https://www.github.com:*yourname*/Python_course.git```. That is the description of your commit. In Windows, this should be ***notepad*** which is pretty easy to handle. In the Linux terminal, the text editors can be a bit more difficult to handle because they work only with keyboard and not with a mouse.
**nano** looks like this:
**nano** looks like this:
[[nano.png | height = 250px]]
<imgsrc="nano.png"height="300">
To exit it you have to press **```<Strg>+O```** to save and **```<Strg>+X```** to exit
To exit it you have to press **```<Strg>+O```** to save and **```<Strg>+X```** to exit
**vi** looks like this:
**vi** looks like this:
[[vi.png | height = 250px]]
<imgsrc="vi.png"height="300">
To exit it you have to press **```<Esc>```** than **```:wq```** to save and quit
To exit it you have to press **```<Esc>```** than **```:wq```** to save and quit