Differences between revisions 6 and 7
Revision 6 as of 2012-07-25 18:17:51
Size: 1522
Editor: ThomasKoch
Comment:
Revision 7 as of 2021-11-27 21:04:26
Size: 0
Editor: ?GabrielFTGomes
Comment: Outdated information.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
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`<<BR>>
 `$ 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.

----
CategoryGit