Re: CVS down - git migration

Bartlomiej Zimon uzi18 at o2.pl
Mon Jul 9 18:38:59 CEST 2012


Dnia 9 lipca 2012 18:12 Daniel Dawid Majewski <light-i w o2.pl> napisał(a):
> 
> > W odpowiedzi na wiadomość z dnia 09.07.2012 16:37, od Arkadiusz Miśkiewicz:
> >> BTW. Jaki jest teraz standard podsyłania łatek na listę? Dalej
> >> 'diff -u' ?
> >
> > Teraz to lepiej git format-patch :)
> Właśnie testuję:
> echo "this is Nemo text..." > Nemo.txt
> [builder w somewhere ftdi_eeprom]$ git add Nemo.txt
> [builder w somewhere ftdi_eeprom]$ git status
> # On branch master
> # Your branch is ahead of 'origin/master' by 2 commits.
> #
> # Untracked files:
> # (use "git add <file>..." to include in what will be committed)
> #
> # nemo.txt
> nothing added to commit but untracked files present (use "git add" to track)
> [builder w somewhere ftdi_eeprom]$ git status
> # On branch master
> # Your branch is ahead of 'origin/master' by 2 commits.
> #
> # Changes to be committed:
> # (use "git reset HEAD <file>..." to unstage)
> #
> # new file: nemo.txt
> #
> [builder w somewhere ftdi_eeprom]$ git commit -m "Nemo patch" -a
> [master 3c4fe86] Nemo patch
>  1 file changed, 1 insertion(+)
>  create mode 100644 nemo.txt
> [builder w somewhere ftdi_eeprom]$ git status
> # On branch master
> # Your branch is ahead of 'origin/master' by 1 commit.
> #
> nothing to commit (working directory clean)
> [builder w somewhere ftdi_eeprom]$ git format-patch
> [builder w somewhere ftdi_eeprom]$
> ---
> I teraz pytanie "Gdzie jest Nemo" ? ;) Co mam wysłać ?
> W katalogu pusto...

[maple-bootloader]$ echo "A">nemo
[maple-bootloader]$ git add nemo
[maple-bootloader]$ git commit -m "- nemo"
[master e46d455] - nemo
 1 file changed, 1 insertion(+)
 create mode 100644 nemo
[maple-bootloader]$ git format-patch origin
0001-nemo.patch
[maple-bootloader]$ cat 0001-nemo.patch
From e46d45567d46deed8223dc37649491df7d11334f Mon Sep 17 00:00:00 2001
From: Bartlomiej Zimon <uzi18 w o2.pl>
Date: Mon, 9 Jul 2012 18:34:53 +0200
Subject: [PATCH] - nemo




---
 nemo | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 nemo




diff --git a/nemo b/nemo
new file mode 100644
index 0000000..f70f10e
--- /dev/null
+++ b/nemo
@@ -0,0 +1 @@
+A
--
1.7.11.1









More information about the pld-devel-pl mailing list