cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox General

Honored Contributor

Hi,

I use Git Extensions and I'm a immediate user of Git.  All MTB projects appear to automatically create a git repository.

I downloaded the "Empty PSoC6" project from git hub and modified it to my heart's content.

I want to commit my changes WITHOUT dumping it back to the git hub location it originally came from.

What is the proper way?

Note:  I'd prefer Git Extensions instructions since git.exe is so verbose and confusing.

I'm familiar with Git Extensions for committing changes to local repositories.  I do that all the time.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
Reply
1 Solution
Employee

The local copy is just a local copy of the repository.  You can commit/branch/ etc to your hearts content... and you will safely have a local copy.  There is nothing that our system will do to blow away your local copy.

If you try to "git push" you will get rejected as you dont have permission to push into the Cypress GitHub site.

You can always add a new remote with "git remote add ...."

I guess what I am saying is that there is no special sauce here.  If you run "git remote -v" you will see something like this:

origin https://github.com/cypresssemiconductorco/mtb-example-psoc6-empty-app (fetch)

origin https://github.com/cypresssemiconductorco/mtb-example-psoc6-empty-app (push)

Which says this branch came from origin.

Hope that helps.

Alan

View solution in original post

1 Reply
Employee

The local copy is just a local copy of the repository.  You can commit/branch/ etc to your hearts content... and you will safely have a local copy.  There is nothing that our system will do to blow away your local copy.

If you try to "git push" you will get rejected as you dont have permission to push into the Cypress GitHub site.

You can always add a new remote with "git remote add ...."

I guess what I am saying is that there is no special sauce here.  If you run "git remote -v" you will see something like this:

origin https://github.com/cypresssemiconductorco/mtb-example-psoc6-empty-app (fetch)

origin https://github.com/cypresssemiconductorco/mtb-example-psoc6-empty-app (push)

Which says this branch came from origin.

Hope that helps.

Alan

View solution in original post

Top labels