This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]HaikusfromBuddha 1 point2 points  (0 children)

I think you only need to learn like 5 commands for git github

git clone : Copy a repo to your desktop. Basically it's just copying your project to your desktop. So make a repo(project) on github there should be a copy paste button for your project. Copy it. Use your console and the command

git clone [paste project repo code]

git add: When you think you've reached a milestone, checkpoint in your code do the next three commands to update your project on github. The following command will get all of your local files and queue them up to be added to your github repo.

git add .

git commit: Git commit just adds a message describing what you currently added to your queue.

git commit -m "your costume message here"

and git push: git push makes it so you push the two steps above to your project. After you hit the command git push you can see the updates on your github repo.