Skip to content
dvbportal edited this page Dec 29, 2010 · 3 revisions

Global setup:

Download and install Git
git config --global user.name "Your Name" git config --global user.email dvbportal@gmail.com

Next steps:

mkdir appjet
cd appjet
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:dvbportal/appjet.git
git push origin master

Existing Git Repo?

cd existing_git_repo
git remote add origin git@github.com:dvbportal/appjet.git
git push origin master

Importing a Subversion Repo?

Click here

When you're done:

Continue

Add Code

Edit and test the files on your development machine. When you’ve got something the way you want and established that it works, commit the changes to your branch on your development server’s git repo.

Add a new file

$ git add <filename>
$ git commit -a -m 'Commit message' 

Add a Tag

$ git tag -a v1.0.3 -m "Tag message"

Keep Remote Repository Up to Date

To push changes:

$ git push origin master

To push a tag or more tags

$ git push --tags

For full details see the Git Manual Pages.