Skip to content

added my name to the bottom of the list#1

Open
vikkisnax wants to merge 2 commits intomasterfrom
Victoria-B
Open

added my name to the bottom of the list#1
vikkisnax wants to merge 2 commits intomasterfrom
Victoria-B

Conversation

@vikkisnax
Copy link
Owner

No description provided.

Victoria added 2 commits October 28, 2021 14:01
…e repo by pasting the url that I forked from GitHub aka pulling files/cloning down to my laptop. then you cd change directory to the name that appear after CLONING INTO by typing cd NAME/ and press enter. so now we'll be in the master branch. we want to make our own branch, so we type git checkout -b which makes a branch name to use. so now we're in this branch. now we open VS code from the terminal by typing code . -- then I added my name and saved the file. then i went back to the terminal and typed git status which will tell me that a file was modified on VS code. now we want to PUSH the change back UP to the remote repo with git add . -- this will add the changes. type git status and make sure the file u edited is STAGED. and then I could type git commit -m -- type message to explain like i am here, press enter, and then it'll say file changed. now we're gonna PUSH the changes back UP with git push -u origin [branch name, which was Victoria-B in this ex]. this command creates the branch REMOTELY then it pushes to it. I had to make a token and add it in bc it wouldn't let me push the changes back up. I'll have to make a new token link in 90 days. so now when we go to github on the forked link that I used, it'll say that there was a recent push. I refreshed the screen, clicked master, and saw my branch name. If i scroll down, i'll see what I edited. Now i'll create a PULL REQUEST by clicking it on the page, changing the base repo to mine, which was Victoria-B/Git-Flow-Practice, and it'll basically compare my branch to the master branch. then I clicked CREATE PULL REQUEST. the link on the page that loads is the URL to the pull request.
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

Successfully merging this pull request may close these issues.

1 participant