Search code examples
gitfrappe

i made some changes in my frappe app locally. After that i accepted it from visual studio code as i have cloned it on my system


I made some changes in my frappe app locally.
After that I accepted it from Visual Studio Code as I have cloned it on my system.

After that, I opened my Linux terminal and look at the status by git status, it was showing the changes I have made.

After that, I typed git commit -m "my changes".
And in last, I pushed it to the main server by git push upstream new_branch.

But right now, I only have read permission, so I could not do it.

So my question is: when I will get write permission of the main project, will I have to do this process again?
Or can I simply push it again?
Because now when I type git status, it is showing there is nothing to commit.


Solution

  • A simple push will be enough.

    To gain write access on a remote repository does not change your local clone and local work.

    Note: one does not generally push directly to upstream, only to the default remote 'origin' which should point to your own repository (or fork of a repository).

    Once push, you can initiate a pull request with, as a target, a branch of the original upstream repository.