Skip to content

Git workflow (for dummies)

codertux edited this page Jul 1, 2012 · 1 revision

Clone $ git clone https://github.com/pistruiatul/hartapoliticii.git

Show remotes $ git remote -v origin https://github.com/pistruiatul/hartapoliticii.git (fetch) origin https://github.com/pistruiatul/hartapoliticii.git (push)

Do your shit locally and commit it. To submit your work the GitHub way, create a fork using the GitHub interface.

Add your remote repository. $ git remote add <remote_name> [email protected]:codertux/hartapoliticii.git $ git remote -v codertux [email protected]:codertux/hartapoliticii.git (fetch) codertux [email protected]:codertux/hartapoliticii.git (push) origin https://github.com/pistruiatul/hartapoliticii.git (fetch) origin https://github.com/pistruiatul/hartapoliticii.git (push)

Push your changes to your own fork. $ git push <remote_name> master

Now gently ask Vivi to process your pull request by pressing the "Pull request" button at the top ^^ of the page.