[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sponsor - FLINT



On Tue, May 20, 2014 at 12:57:15PM +0200, Benjamin Eltzner wrote:
> Hi Tobias, Felix and all,
> 
> I have little experience with git and I am not sure how to push my
> package to the repository. What I did so far is:
> 
> 1.  git clone git://git.debian.org/git/debian-science/packages/flint.git

git:// is for read-only access. if you need to write, use
ssh://git.debian.org/git/debian-science/packages/flint.git as the
remote.

something like
git remote add alioth_rw ssh://git.debian.org/git/debian-science/packages/flint.git 
will get you started.

> 2.  replace debian directory by the one I made.
> 3.  git add *

this is too much (in >99% of cases). be careful.

> 4.  git commit -m 'package draft for flint 2.4.3'
> 4a. git config --global user.name "Benjamin Eltzner"
>     git config --global user.email b.eltzner@gmx.de
>     git commit --amend --reset-author
>     :-)

that's fine.

> 5.  git push origin master

you *can* overwrite the existing package. but i'm not sure if i'm
comfortable with this (what's wrong with the current? can you fix it?).

you may still display your work on alioth with something like
git push alioth_rw master:master_now_much_better_question_mark

usually commits are be atomic, and others are able to follow.

cheers
felix


Reply to: