RSS/Atom feed Twitter
Site is read-only, email is disabled

git commit problems

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

8 of 9 messages available
Toggle history

Please log in to manage your subscriptions.

569424D6.2050006@stuestoel.no 14 Jan 11:29
  git commit problems Alexandre Prokoudine 14 Jan 11:29
   git commit problems Kolbjørn Stuestøl 14 Jan 15:40
    git commit problems Tobias Ellinghaus 14 Jan 15:55
     git commit problems Kolbjørn Stuestøl 14 Jan 17:15
      git commit problems Tobias Ellinghaus 14 Jan 17:25
       git commit problems Kolbjørn Stuestøl 14 Jan 19:43
        git commit problems Sven Claussner 15 Jan 07:28
         git commit problems Kolbjørn Stuestøl 15 Jan 10:52
Alexandre Prokoudine
2016-01-14 11:29:48 UTC (over 8 years ago)

git commit problems

On Tue, Jan 12, 2016 at 12:55 AM, Kolbjørn Stuestøl wrote:

When committing my translation all looks well on my local copy. But my translations do not shows up in the https://git.gnome.org/browse/gimp/ site.

With basic configuration (author name and email) and a combination of...

1. git clone ssh://[username]@git.gnome.org/git/gimp 2. git commit -m "[description]" [file] 3. git push origin master

...you should be able to get work done.

What exactly did you do to push?

Alex

Kolbjørn Stuestøl
2016-01-14 15:40:02 UTC (over 8 years ago)

git commit problems

Den 14.01.2016 12:29, Alexandre Prokoudine skreiv:

On Tue, Jan 12, 2016 at 12:55 AM, Kolbjørn Stuestøl wrote:

When committing my translation all looks well on my local copy. But my translations do not shows up in the https://git.gnome.org/browse/gimp/ site.

With basic configuration (author name and email) and a combination of...

1. git clone ssh://[username]@git.gnome.org/git/gimp 2. git commit -m "[description]" [file] 3. git push origin master

...you should be able to get work done.

Thank you.
I'll give this a try later this night.

What exactly did you do to push?

Oh, I forgot to add a copy of this command in my e-mail. Should be: $ git commit -m "Updated Norwegian (nn) translations" [master 7b2f8a5] Updated Norwegian (nn) translations 5 files changed, 13801 insertions(+), 9813 deletions(-) mode change 100644 => 100755 po-plug-ins/nn.po mode change 100644 => 100755 po-python/nn.po $ git push

I have never added anything to the push command like "git push origin master" as you write.
I do not remember the answer from the server. Sorry. To me (unskilled git user) it looks like the push command did not reached the server or was performed in an unusual way or something. But this is a guess.

Kolbjørn

Alex
_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

Tobias Ellinghaus
2016-01-14 15:55:58 UTC (over 8 years ago)

git commit problems

Am Donnerstag, 14. Januar 2016, 16:40:02 schrieb Kolbjørn Stuestøl:

Den 14.01.2016 12:29, Alexandre Prokoudine skreiv:

On Tue, Jan 12, 2016 at 12:55 AM, Kolbjørn Stuestøl wrote:

When committing my translation all looks well on my local copy. But my translations do not shows up in the https://git.gnome.org/browse/gimp/ site.>

With basic configuration (author name and email) and a combination of...

1. git clone ssh://[username]@git.gnome.org/git/gimp 2. git commit -m "[description]" [file] 3. git push origin master

...you should be able to get work done.

Thank you.
I'll give this a try later this night.

What exactly did you do to push?

Oh, I forgot to add a copy of this command in my e-mail. Should be: $ git commit -m "Updated Norwegian (nn) translations" [master 7b2f8a5] Updated Norwegian (nn) translations 5 files changed, 13801 insertions(+), 9813 deletions(-) mode change 100644 => 100755 po-plug-ins/nn.po mode change 100644 => 100755 po-python/nn.po $ git push

I have never added anything to the push command like "git push origin master" as you write.
I do not remember the answer from the server. Sorry. To me (unskilled git user) it looks like the push command did not reached the server or was performed in an unusual way or something. But this is a guess.

Try "git status", maybe it told you that you have to fetch changes from the server first? In that case just run "git pull" [0] and then "git push" again.

Kolbjørn

Tobias

[0] Now people will scold me and tell you that you should use "git fetch" and then rebase. Better wait for them to give you exact commands to run, I have no idea about those.

Kolbjørn Stuestøl
2016-01-14 17:15:44 UTC (over 8 years ago)

git commit problems

Den 14.01.2016 16:55, Tobias Ellinghaus skreiv:

Am Donnerstag, 14. Januar 2016, 16:40:02 schrieb Kolbjrn Stuestl:

Den 14.01.2016 12:29, Alexandre Prokoudine skreiv:

On Tue, Jan 12, 2016 at 12:55 AM, Kolbjrn Stuestl wrote:

When committing my translation all looks well on my local copy. But my translations do not shows up in the https://git.gnome.org/browse/gimp/ site.>

With basic configuration (author name and email) and a combination of...

1. git clone ssh://[username]@git.gnome.org/git/gimp 2. git commit -m "[description]" [file] 3. git push origin master

...you should be able to get work done.

Thank you.
I'll give this a try later this night.

What exactly did you do to push?

Oh, I forgot to add a copy of this command in my e-mail. Should be: $ git commit -m "Updated Norwegian (nn) translations" [master 7b2f8a5] Updated Norwegian (nn) translations 5 files changed, 13801 insertions(+), 9813 deletions(-) mode change 100644 => 100755 po-plug-ins/nn.po mode change 100644 => 100755 po-python/nn.po $ git push

I have never added anything to the push command like "git push origin master" as you write.
I do not remember the answer from the server. Sorry. To me (unskilled git user) it looks like the push command did not reached the server or was performed in an unusual way or something. But this is a guess.

Try "git status", maybe it told you that you have to fetch changes from the server first? In that case just run "git pull" [0] and then "git push" again.

Thank you for your answer and advise.

"git status" returned:

'On branch master
Your branch and 'origin/master' have diverged, and have 1 and 8 different commits each, respectively. (use "git pull" to merge the remote branch into yours)'

and then a list of about 450 modified images ("icons/Symbolic/") (but not by me) + a few other files.

"git pull" returned:

remote: Counting objects: 9, done. remote: Compressing objects: 100% (5/5), done. remote: Total 5 (delta 4), reused 0 (delta 0) Unpacking objects: 100% (5/5), done. From ssh://git.gnome.org/git/gimp
6ba9acd..2e7ebde master -> origin/master error: Your local changes to the following files would be overwritten by merge:
themes/The-Dark-Side-of-Gimp/gtkrc Please, commit your changes or stash them before you can merge. Aborting

I have not changed "themes/The-Dark-Side-of-Gimp/gtkrc" or other files except a few nn.po files not listed. So I could delete the file, and then the next file(s) to be overwritten and so one.

A proof that my "git push" did not reach the server for some reason or other?

As I said before I am an unskilled (and a bit lazy) git user who think it is safest and easiest for me to start all over again with "git clone ".

Kolbjrn

Kolbjrn

Tobias

[0] Now people will scold me and tell you that you should use "git fetch" and then rebase. Better wait for them to give you exact commands to run, I have no idea about those.

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

Tobias Ellinghaus
2016-01-14 17:25:12 UTC (over 8 years ago)

git commit problems

Am Donnerstag, 14. Januar 2016, 18:15:44 schrieb Kolbjørn Stuestøl:

[...]

and have 1 and 8 different commits each, respectively.

The "1" is your commit and the "8" are the ones you don't have yet.

and then a list of about 450 modified images ("icons/Symbolic/…") (but not by me) + a few other files.

Ignore them.

"git pull" returned:

remote: Counting objects: 9, done. remote: Compressing objects: 100% (5/5), done. remote: Total 5 (delta 4), reused 0 (delta 0) Unpacking objects: 100% (5/5), done. From ssh://git.gnome.org/git/gimp

6ba9acd..2e7ebde master -> origin/master

error: Your local changes to the following files would be overwritten

by merge: themes/The-Dark-Side-of-Gimp/gtkrc

That's something that shouldn't happen, maybe someone messed with git?

Please, commit your changes or stash them before you can merge. Aborting

I have not changed "themes/The-Dark-Side-of-Gimp/gtkrc" or other files except a few nn.po files not listed. So I could delete the file, and then the next file(s) to be overwritten and so one.

git checkout themes/The-Dark-Side-of-Gimp/gtkrc

will reset that file to the original state.

A proof that my "git push" did not reach the server for some reason or other?

Yes, it didn't reach the server.

As I said before I am an unskilled (and a bit lazy) git user who think it is safest and easiest for me to start all over again with "git clone …".

I know that feeling ...

Kolbjørn

Tobias

[...]

Kolbjørn Stuestøl
2016-01-14 19:43:33 UTC (over 8 years ago)

git commit problems

Thank you for helping me. I have learned a bit more about git. I cloned the repository and added my translated files to my local folders and then did the usual git add, git commit and git push. It works again as normal.
Now https://git.gnome.org/browse/gimp/ shows that I updated the master 2 minutes ago.
Is there a separate branch for the 2.8 version? "git checkout gimp-2-8" or something?

Some comments:

Den 14.01.2016 18:25, Tobias Ellinghaus skreiv:

Am Donnerstag, 14. Januar 2016, 18:15:44 schrieb Kolbjrn Stuestl:

[...]

and have 1 and 8 different commits each, respectively.

The "1" is your commit and the "8" are the ones you don't have yet.

Aha.

and then a list of about 450 modified images ("icons/Symbolic/") (but not by me) + a few other files.

Ignore them.

I have to delete them. The program otherwise aborts.

"git pull" returned:

remote: Counting objects: 9, done. remote: Compressing objects: 100% (5/5), done. remote: Total 5 (delta 4), reused 0 (delta 0) Unpacking objects: 100% (5/5), done. From ssh://git.gnome.org/git/gimp

6ba9acd..2e7ebde master -> origin/master

error: Your local changes to the following files would be overwritten

by merge: themes/The-Dark-Side-of-Gimp/gtkrc

That's something that shouldn't happen, maybe someone messed with git?

Please, commit your changes or stash them before you can merge. Aborting

I have not changed "themes/The-Dark-Side-of-Gimp/gtkrc" or other files except a few nn.po files not listed. So I could delete the file, and then the next file(s) to be overwritten and so one.

git checkout themes/The-Dark-Side-of-Gimp/gtkrc

will reset that file to the original state.

I did not try this as I started all over again. But will try to remember it.

A proof that my "git push" did not reach the server for some reason or other?

Yes, it didn't reach the server.

:-)

As I said before I am an unskilled (and a bit lazy) git user who think it is safest and easiest for me to start all over again with "git clone ".

I know that feeling ...

Normally I am a curious person but the world of computers are too complex for me now.

From a thankful Kolbjrn

Kolbjrn

Tobias

[...]

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

Sven Claussner
2016-01-15 07:28:38 UTC (over 8 years ago)

git commit problems

Hi Kolbjrn,

On 14.1.2016 at 8:43 PM Kolbjrn Stuestl wrote:

Is there a separate branch for the 2.8 version? "git checkout gimp-2-8" or something?

Exactly. At https://git.gnome.org/browse/gimp/ top left is a list box where you can see all branches. At the command prompt git ls-remote origin
git remote show origin
are your friends.

Normally I am a curious person but the world of computers are too complex for me now.

Don't judge from git to the world of computers. Git is known to be a usability beast even for developers. You'll learn from practice and eventually it's only few commands you need for regular use. If you need help, just ask and often you'll get an answer here or in IRC. In IRC mikachu is our git expert, but many of the others know git as well.
You might also find our Problems and Solutions page useful: http://wiki.gimp.org/wiki/Hacking:Problems_and_solutions

If you feel more comfortable with a GUI client, then gitk, git-gui, SmartGit or the GitExtensions might be your choice. Gitk and git-gui are part of git. SmartGit is a comfortable third-party GUI client and considered quite user friendly. It runs on Mac OS X, Windows and Linux. I also made positive experiences with GitExtensions on Windows. They are well integrated into Windows Explorer and Visual Studio.

Greetings

Sven

Kolbjørn Stuestøl
2016-01-15 10:52:28 UTC (over 8 years ago)

git commit problems

Thank you, Sven
I have saved your answer for later use and will give your suggestions a try.

Kolbjrn

Den 15.01.2016 08:28, Sven Claussner skreiv:

Hi Kolbjrn,

On 14.1.2016 at 8:43 PM Kolbjrn Stuestl wrote:

Is there a separate branch for the 2.8 version? "git checkout gimp-2-8" or something?

Exactly. At https://git.gnome.org/browse/gimp/ top left is a list box where you can see all branches. At the command prompt git ls-remote origin
git remote show origin
are your friends.

Normally I am a curious person but the world of computers are too complex for me now.

Don't judge from git to the world of computers. Git is known to be a usability beast even for developers. You'll learn from practice and eventually it's only few commands you need for regular use. If you need help, just ask and often you'll get an answer here or in IRC. In IRC mikachu is our git expert, but many of the others know git as well.
You might also find our Problems and Solutions page useful: http://wiki.gimp.org/wiki/Hacking:Problems_and_solutions

If you feel more comfortable with a GUI client, then gitk, git-gui, SmartGit or the GitExtensions might be your choice. Gitk and git-gui are part of git. SmartGit is a comfortable third-party GUI client and considered quite user friendly. It runs on Mac OS X, Windows and Linux. I also made positive experiences with GitExtensions on Windows. They are well integrated into Windows Explorer and Visual Studio.

Greetings

Sven

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list