[Debian-handbook-translators] How To push correctly
Raphael Hertzog
hertzog at debian.org
Wed Jun 6 06:28:29 UTC 2012
Hello,
On Tue, 05 Jun 2012, Carsten Bachert wrote:
> when I push my work back, everything seems to be o.k. but no files are
> updated. How do I correct upload my changed files? I am confused within
> the numberous introductions to git.
What do you mean by "no files are updated"? And what leads you to believe
this?
I saw your commits and they certainly did changes files...
> bachert at acer:~/handbook/debian-handbook$ git commit -a
> [squeeze/master 7bb2937] added de-DE/00a_preface.po
> 1 files changed, 10 insertions(+), 10 deletions(-)
>
> bachert at acer:~/handbook/debian-handbook$ git status
> # On branch squeeze/master
> # Your branch is ahead of 'origin/squeeze/master' by 1 commit.
> #
> nothing to commit (working directory clean)
>
> bachert at acer:~/handbook/debian-handbook$ git push
> Enter passphrase for key '/home/bachert/.ssh/id_rsa':
> Counting objects: 7, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (4/4), done.
> Writing objects: 100% (4/4), 1.65 KiB, done.
> Total 4 (delta 3), reused 0 (delta 0)
> To git+ssh://git.debian.org/git/debian-handbook/debian-handbook.git
> 7d7c523..7bb2937 squeeze/master -> squeeze/master
This is all correct. If the push had failed, you would have had
to run "git pull --rebase" to update your local branch (and this
would bring in the remote changes).
> bachert at acer:~/handbook/debian-handbook$ git status
> # On branch squeeze/master
> nothing to commit (working directory clean)
It's to be expected that the directory is clean after a commit.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/
More information about the Debian-handbook-translators
mailing list