|
Hello, I recently obtained a developer account.
i have few things to commit, but i want to know how to configure git correctly, which options to add, because i don't want to mess anything :) Thanks in advance, Veaceslav
_______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
You must have a git config similar to mine :
[gilles@localhost ~]$ pwd /home/gilles [gilles@localhost ~]$ cat .gitconfig [url "git://anongit.kde.org/"] insteadof = kde:// [url "[hidden email]:"] pushinsteadof = kde:// [url "ssh://[hidden email]/"] pushinsteadof = kde:// [alias] up = pull --rebase -v --stat ci = commit -a -v [core] editor = mcedit [user] name = Gilles Caulier email = [hidden email] [push] default = tracking [color] # turn on color diff = auto status = auto branch = auto interactive = auto ui = auto [color "branch"] current = green bold local = green remote = red bold [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold [color "status"] added = green bold changed = yellow bold untracked = red [color "sh"] branch = yellow [gilles@localhost ~]$ Gilles 2011/8/3 Veaceslav Munteanu <[hidden email]>: > Hello, I recently obtained a developer account. > i have few things to commit, but i want to know how to configure git > correctly, which options to add, because i don't want to mess anything :) > Thanks in advance, > Veaceslav > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
another question..
for me "git status" doesn't work, it say "Nothing to commit" but "./gits status" works fine. also "./gits pull" works but
when I tried: ./gits commit -a -v -m "Fix bug 141389, added sorting by EXIF date" i receive this erorr: Aborting gits commit, failed for: '.': exit 1 (first entry, no other successfully executed)
On Wed, Aug 3, 2011 at 7:49 PM, Gilles Caulier <[hidden email]> wrote: You must have a git config similar to mine : _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
git is a real command from versioning system.
gits is a script wrapper to be able to work more than one repository (typically kipi-plugins and digiKam). It scan the folder tree. if you work only in kipi-plugins, you just need git to pull and commit/push. Gilles Caulier 2011/8/4 Veaceslav Munteanu <[hidden email]>: > another question.. > for me "git status" doesn't work, it say "Nothing to commit" > but "./gits status" works fine. > also "./gits pull" works but > when I tried: > ./gits commit -a -v -m "Fix bug 141389, added sorting by EXIF date" > i receive this erorr: > Aborting gits commit, failed for: '.': exit 1 > (first entry, no other successfully executed) > On Wed, Aug 3, 2011 at 7:49 PM, Gilles Caulier <[hidden email]> > wrote: >> >> You must have a git config similar to mine : >> >> [gilles@localhost ~]$ pwd >> /home/gilles >> >> [gilles@localhost ~]$ cat .gitconfig >> [url "git://anongit.kde.org/"] >> insteadof = kde:// >> >> [url "[hidden email]:"] >> pushinsteadof = kde:// >> >> [url "ssh://[hidden email]/"] >> pushinsteadof = kde:// >> >> [alias] >> up = pull --rebase -v --stat >> ci = commit -a -v >> [core] >> editor = mcedit >> >> [user] >> name = Gilles Caulier >> email = [hidden email] >> >> [push] >> default = tracking >> >> [color] >> # turn on color >> diff = auto >> status = auto >> branch = auto >> interactive = auto >> ui = auto >> >> [color "branch"] >> current = green bold >> local = green >> remote = red bold >> >> [color "diff"] >> meta = yellow bold >> frag = magenta bold >> old = red bold >> new = green bold >> >> [color "status"] >> added = green bold >> changed = yellow bold >> untracked = red >> >> [color "sh"] >> branch = yellow >> [gilles@localhost ~]$ >> >> Gilles >> 2011/8/3 Veaceslav Munteanu <[hidden email]>: >> > Hello, I recently obtained a developer account. >> > i have few things to commit, but i want to know how to configure git >> > correctly, which options to add, because i don't want to mess anything >> > :) >> > Thanks in advance, >> > Veaceslav >> > _______________________________________________ >> > Digikam-devel mailing list >> > [hidden email] >> > https://mail.kde.org/mailman/listinfo/digikam-devel >> > >> > >> _______________________________________________ >> Digikam-devel mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-devel > > > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
| Free forum by Nabble | Edit this page |
