How to work with git on the command line
Jump to navigation
Jump to search
This page is not finished yet
Due to the change from Bazaar/Launchpad to Github, this page needs to be rewritten
Have a look at these pages:
Configure git
git config --global user.name "FIRSTNAME LASTNAME" git config --global user.email "EMAIL@EXAMPLE.ORG" git config --global credential.helper cache git config --global credential.helper 'cache --timeout=3600'
Clone the repository
- First it is best you login to Github, and go to https://github.com/openpetra/openpetra.
- Then you should create a fork, so that you have permission to commit to your fork at Github.
Then on the commandline, in Git Bash, you can run:
git clone https://github.com/YOUR-USERNAME/openpetra
Commit your changes
git commit -a
Push your changes to Github
This will publish your branch at Github, in your fork of OpenPetra:
git push origin