Added even more useful commands

This commit is contained in:
MrPyriteMiner 2024-09-15 11:36:16 +02:00
parent 632baf7176
commit b66fc8c46c
1 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
# Hello World
git commit -a -m "Message"
This command adds all modified files, but not new ones, to a commit immediately.
If someone else already commit smth, pull it with
git pull -r
Now you start resolving conflicts. If there's a conflict, you gotta deal with it. Keep doing that till you're done
--> Happiness
continue with "git rebase --continue"
then you can pmossibly change the commit message
then you can push
git log
exists as a log of what happened