Development using git with write access

From Alpine Linux
Revision as of 18:30, 5 August 2009 by Ttrask (talk | contribs) (Spelling)
Jump to: navigation, search

Note: Unless you are a developer with ssh access (with permissions) you should instead read the article "Development using git"

Personal settings

Start by telling your git who you are and some other useful information ('' will show up in when you commit your changes).

 git config --global "Your Full Name"
 git config --global "your@email.address"

Git Clone

Some examples:

 git clone ssh://  (This would fetch all available git projects) 
 git clone ssh://   (Fetch a single project) 
 git clone ssh://   (Fetch a single project)

Check to see what alternatives you have.
You might not have permissions to clone all existing projects.

Git Tag

Create an annotated tag.

 git tag -a tagname -m'commit message (e.g release 1.x)'
 git push && git push --tags

Create new project

Create your own dir that you want to become your new acf-mystuff project.
Now initiate git.

cd acf-mystuff
git init

Create your files and add/commit them to your git-project

git add ./
git commit

Note: You can add/modify/commit as much as you want before uploading it to

git clone --bare acf-mystuff acf-mystuff.git
scp -r acf-mystuff.git


See Development_using_git#References for references.