Added even more useful commands
This commit is contained in:
parent
632baf7176
commit
b66fc8c46c
10
README.md
10
README.md
|
@ -1,3 +1,13 @@
|
||||||
# Hello World
|
# Hello World
|
||||||
git commit -a -m "Message"
|
git commit -a -m "Message"
|
||||||
This command adds all modified files, but not new ones, to a commit immediately.
|
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
|
Loading…
Reference in New Issue