Differences between revisions 4 and 5
Revision 4 as of 2009-03-31 19:04:44
Size: 1357
Editor: DavidPaleino
Comment: frozen/1.0 → 1.x
Revision 5 as of 2010-02-04 07:29:47
Size: 1501
Editor: ?LeonardCrestez
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

If you just want a read-only copy:

 `$ git clone git://git.debian.org/git/bash-completion/bash-completion.git`
Line 9: Line 13:
If you just want a read-only copy:

 `$ git clone git://git.debian.org/git/bash-completion/bash-completion.git`
Here username is your full Alioth username. It will have a -guest suffix if you're not a Debian Developer. See [[Alioth/SSH]] for more info.

To download the current development version of bash-completion, you need to clone a git copy.

Clone

If you just want a read-only copy:

  • $ git clone git://git.debian.org/git/bash-completion/bash-completion.git

If you have an Alioth account, with write access to the bash-completion project, use this command:

  • $ git clone git+ssh://<username>@git.debian.org/git/bash-completion/bash-completion.git

Here username is your full Alioth username. It will have a -guest suffix if you're not a Debian Developer. See ?Alioth/SSH for more info.

Development on 1.x

If you want to checkout origin/1.x in a local branch 1.x, use these commands:

  • $ git pull origin
    $ git checkout --track -b 1.x origin/1.x

Now both git pull and git push will work from/to origin/1.x.

If you choose a different name <nick> for the local branch, git push needs the refspec argument, because git push by default only compares local branch names with remote branch names:

  • $ git push origin <nick>:1.x

You can put this in .git/config for later pushes with this command:

  • $ git config remote.origin.push <nick>:1.x

What to commit?

Please only commit important bugfixes needed to be addressed in new minor releases (i.e. 1.1, 1.2, 1.3 and so on for the 1.x branch). NEVER EVER INTRODUCE NEW FEATURES OR RADICAL CHANGES.

Old frozen/1.0 branch

Please don't use it anymore, instead commit only to the 1.x branch.