Git: Difference between revisions

From London Hackspace Wiki

406 bytes added ,  26 February 2011
no edit summary
No edit summary
Line 54: Line 54:
  git log
  git log


<!--


== Pushing ==
To push your changes to Github, from where you can share them, you need to do a little bit more set-up.  First, fork the original project from Github to your own account.  Then tell '''git''' where it is:
git remote add github git@github.com:jane/irccat-commands
You can check this using:
git remote -v
Then whenever you need to push, you can just issue this command:
git push github


<!--
== If you've done it in place ==
== If you've done it in place ==


Now, you'll need to switch to the root user on babbage. As root:
Now, you'll need to switch to the root user on babbage. As root:
  * '''git push''' #  This makes your changes available on the github repository, and thus available to others.
  * '''git push''' #  This makes your changes available on the github repository, and thus available to others.
-->
-->
3,313

edits