this URL does not point to a github repository but to a folder inside the github repository.
Il giorno sabato 16 maggio 2020 16:10:35 UTC+2, Philip Oakley ha scritto: > > You can add a remote for any URL that points to a git server with a > repository behind the server path. > > Your example has a lot of example cruft within it. > > If you already have the github repository, browse to it's page and > (usually) it will show you the available URLs you can use. The paths > look something like "https://github.com/git-for-windows/git-sdk-64.git" > so it has the'organisation or person name and the repository name and > the '.git' part. > > Note that you need the repository at Github to be "empty" if you you > have prepared your content locally and are pushing it to the remote > server, otherwise you need to (a) --force it, (b) remove the > pre-existing cruft..). > > > > On 16/05/2020 14:53, Nicola Cantalupo wrote: > > forget netlify > > can I add a remote on this > > url?: https://github.com/mygithubusername/victor-hugo/tree/master/site > > the structure of the site folder (related to the url above) > > corresponds to the structure of my local project. > > my local project was not cloned from a remote repository but was > > generated with the command "hugo new site myproject" > > > > Il giorno sabato 16 maggio 2020 11:42:02 UTC+2, Philip Oakley ha > scritto: > > > > Hi Nicola, > > > > I looked up thread and saw that it looks like you are trying to do > > web > > deployment via `netlify`, which is not something I do. I looked at > > their > > site and it didn't have enough browsable information to see what > they > > were doing (and hence where it could be confusing). > > > > I'm not really able to help any further with this, but do practice > > a bit > > with Git first so you understand how it works, because it is > > different. > > > > It's the differences (especially at the conceptual level) that have > > made it successful. > > > > On 16/05/2020 07:37, Nicola Cantalupo wrote: > > > actually I'm working only on the local repository. I just have to > > > transfer the changes to a specific folder in the remote > > repository and > > > not vice versa > > > > > > Il giorno sabato 16 maggio 2020 00:39:55 UTC+2, Philip Oakley ha > > scritto: > > > > > > For Nicola, > > > > > > If I understood what you are doing correctly, you should > > look up > > > the Triangular workflow, and and the psuhRemote config option. > > > > > > This allows you to say that the 'golden reference' > > ("upstream") is > > > on one place, and that you maintain a remote personal > > repository > > > where you publish work and store backups of development > > branches. > > > > > > see this post > > > > > > https://lore.kernel.org/git/[email protected]/ > > < > https://lore.kernel.org/git/[email protected]/> > > > > > > > > < > https://lore.kernel.org/git/[email protected]/ > > < > https://lore.kernel.org/git/[email protected]/>> > > > > > > for a comment (to me) about some of the trickiness. > > > > > > You may also want to ensure you have --ff-only set for the > > merge > > > option when 'pulling' from upstream. > > > > > > Philip > > > > > > On Friday, May 15, 2020 at 1:45:48 PM UTC+1, Magnus Therning > > wrote: > > > > > > > > > Nicola Cantalupo <[email protected]> writes: > > > > > > > thank you. > > > > however reading the documentation and various > > turorials, I > > > have more > > > > doubts than before. so I need some simplification from > > > someone in this > > > > group, please. > > > > > > What have you tried? What happened? What did you expect > > would > > > happen? > > > > > > /M > > > > > > -- > > > Magnus Therning OpenPGP: 0x927912051716CE39 > > > email: [email protected] > > > twitter: magthe http://magnus.therning.org/ > > > > > > Computers are useless. They can only give you answers. > > > — Pablo Picasso > > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Git for human beings" group. > > > To unsubscribe from this group and stop receiving emails from > > it, send > > > an email to [email protected] <javascript:> > > > <mailto:[email protected] <javascript:>>. > > > To view this discussion on the web visit > > > > > > https://groups.google.com/d/msgid/git-users/66c52df4-2829-4ab0-bb9f-703884d0aee0%40googlegroups.com > > > < > https://groups.google.com/d/msgid/git-users/66c52df4-2829-4ab0-bb9f-703884d0aee0%40googlegroups.com> > > > > > > > > > < > https://groups.google.com/d/msgid/git-users/66c52df4-2829-4ab0-bb9f-703884d0aee0%40googlegroups.com?utm_medium=email&utm_source=footer > > > < > https://groups.google.com/d/msgid/git-users/66c52df4-2829-4ab0-bb9f-703884d0aee0%40googlegroups.com?utm_medium=email&utm_source=footer>>. > > > > > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Git for human beings" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [email protected] <javascript:> > > <mailto:[email protected] <javascript:>>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/git-users/7987c8fd-5e74-4322-be65-f8d497498a4c%40googlegroups.com > > > < > https://groups.google.com/d/msgid/git-users/7987c8fd-5e74-4322-be65-f8d497498a4c%40googlegroups.com?utm_medium=email&utm_source=footer>. > > > > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/630b0f86-4d89-4607-9fa4-02354631ba55%40googlegroups.com.
