# first switch to the dspace 6 branch:
git checkout dspace-6_x
# then create a new identical branch as the current one and name it DS-3974
git checkout -b DS-3974


git remote add upstream git://github.com/DSpace/DSpace.git
# this was a one-time operation which allows you to pull latest changes
from the official DSpace repo to your local repo:
git pull upstream
# which is identical to
git fetch upstream
git merge upstream


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

On Fri, Aug 10, 2018 at 10:17 AM Evgeni Dimitrov <dimitrove....@gmail.com>
wrote:

> I want to propose a fix to an issue.
>
> What I did:
>
> 1. I did Fork in https://github.com/DSpace/DSpace
>
> 2. I did clone to my machine:
> git clone git://github.com/xxxxxx/DSpace.git dspace-src
>
> 3. I did (don't know why):
> git remote add upstream git://github.com/DSpace/DSpace.git
> git fetch upstream
>
> What I am trying now is to create a branch for the issue. The issue is in
> DSpace 6.3 and I suppose my branch should be a subbranch of dspace-6_x:
>
> D:\ADISK5\dspace-src>git checkout -b DS-3974 dspace-6_x
> fatal: Cannot update paths and switch to branch 'DS-3974' at the same time.
> Did you intend to checkout 'dspace-6_x' which can not be resolved as
> commit?
>
> D:\ADISK5\dspace-src>git branch DS-3974 dspace-6_x
> fatal: Not a valid object name: 'dspace-6_x'.
>
> What branch should I create and how?
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to