Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git Instructions #3

Open
Pranavchiku opened this issue Oct 20, 2022 · 0 comments
Open

Git Instructions #3

Pranavchiku opened this issue Oct 20, 2022 · 0 comments

Comments

@Pranavchiku
Copy link
Collaborator

Pranavchiku commented Oct 20, 2022

After forking the repository, follow the steps to setup it in your local device:

git clone https://github.com/<username>/prometeo-23-app.git

Setup remotes:

git remote set-url origin https://github.com/devlup-labs/prometeo-23-app.git
git remote add <remote name> https://github.com/<username>/prometeo-23-app.git

Now you are in main branch of the PR, to work on the task assigned, create new PR by using the below mentioned instruction:

git checkout -b <branch-name>

To navigate to any existing branch (ex: navigationbar)

git checkout navigationbar

To push changes to PR / To submit new PR:

NOTE: Always open a new PR from main, else commits will follow remote.

git push <remote name> <branch name>

To pull changes to PR:

git pull origin <branch name>

Feel free to ping whenever facing any difficulties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant