Umesh Tayade <umeshtayad...@gmail.com> writes:

I have the following folder structure

C:\360\Source
     - standard

C:\Main\Source
     - custom

C:\Main\Source is the git repository folder. I want to create the junction point for the folderC:\Main\Source so that custom should be linked to the folderC:\360\Source. I am using below command to create
the junction point.

mklink /j "C:\Main\Source" "C:\360\Source"

But before creating the junction point I need to delete the original Source folder from the folderC:\Main as you cannot create junction point with existing original location folder. Once the above command
is executed the junction point will be created but git shows the
content of the source folder as deleted. Even I revert the changes it
still shows the files as deleted.

My question is how should I create the junction point so that I should not lose my git source folder files and after the creation of junction
point the additional folder like standard should be ignored.

This feels like a very Windows-centric question. I also get slightly confused by the multiple use of "source"; it's unclear what exactly you are referring to in all places. It might help if you type down the exact
commands to reproduce it.

/M

--
Magnus Therning              OpenPGP: 0x927912051716CE39
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

Ah, good taste! What a dreadful thing! Taste is the enemy of
creativeness.
    — 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 git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to