Completed the comit section

main
RedStealthDev 2 years ago
parent 050df496b1
commit 85dde0ee23

@ -66,6 +66,19 @@ That is were Git's feature called branches come in they are basicaly a copy of t
And when that code is done you can do a `merge/pull request` and turn the branch around so that it connects back to the main project again. And when that code is done you can do a `merge/pull request` and turn the branch around so that it connects back to the main project again.
### Commit Pull Push <a name="user-content-Usage-cpp"></a> ### Commit Pull Push <a name="user-content-Usage-cpp"></a>
So first i will explain what these are and then i will show you how.\
Commiting is the time that you say to git that it should save your changes.\
This dose not upload it to the server yet it yust saves it localy so you can go back if you want to.\
Pulling and pushing are quite self explanatory they `download/upload` `your/the Servers` changes.\
One extra thing here is Fetching.\
Fetching is not the same as pulling it sounds like it could be but its not.\
Fetching is when you ask the server if it has some changes or new branches that you could download.\
1. Commiting in Github Desktop is quite easy to do this all you have to do is open Github Desktop and write a small message about what you changed after the last commit.\
The box to write in says `Summary (Required)` and is located bottom left corner.\
If you want a longer message you can write it in the bigger box that says `Description`.\
When you are done you yust press the big blue button with the name `Commit to (BranchName)`.\
2. Pushing in Github Desktop may be the easiest one because you only nead to do it after a commit so after commiting you will see a a button on the top bar that usualy says fetch is now blue and says push. If you press that then all your changes that you commited will be sent to the server so others can pull it.
3. Fetching is also easy you yust press `Fetch Origin` on the top button bar.
4. Pull is on the same button as fetch and is the time that you download the changes from the server.
### Branches <a name="user-content-Usage-Bran"></a>
### Branches <a name="user-content-Usage-Bran"></a>

Loading…
Cancel
Save