Skip to content

markdoughty/Practice-PR-Playlists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Practice-PR-Playlists

Practice creating pull requests with a list of playlists. (With thanks to https://github.com/bhargav794/hacktoberfest-practice-music-playlists)

To start ...

Create an account on Github, and make sure you have the following installed:

What's next?

In brief:

Have a look at Github's Fork & Pull Workflow for Git Beginners for an overview of this process. However, here is a simple list of things to do: (In particular, checkout 'Updating your Fork' for information on mking sure you push the latest version of the repo)

  1. Fork this project
  2. Open Git Bash
  3. Clone your forked project
    git clone https://github.com/<YOUR-USERNAME>/Practice-PR-Playlists
  4. Make your changes to the playlist.md file
  5. Add the URL of your spotify playlist
  6. Add the file to the staging area:
    git add .
  7. Commit your changes. Include a commit message to describe your commit:
    git commit -m "YOUR COMMIT MESSAGE"
  8. Push the changes to your forked version.
    git push origin main
  9. Go to the original project (i.e . my project!) on GitHub and create a pull request.

More detailed descriptions of the steps

  1. Fork this repo.
  2. clone your forked copy of the project
    git clone https://github.com/<YOUR-USERNAME>/Practice-PR-Playlists
  3. In git bash, change the working directory to inside the cloned project:
    cd Practice-PR-Playlists
  4. Add a reference to the original (i.e. my) repository:
    git remote add upstream https://github.com/markdoughty/Practice-PR-Playlists.git
  5. Check the remote repositories
    git remote -v
  6. Use git pull to make sure the upstrwam remote repository (i.e. mine) is up to date with your fork:
    git pull upstream main
  7. Create a new branch in your repository:
    git checkout -b <YOUR-BRANCH-NAME>
  8. Open Playlist.md in a code editor like VSCode or notepad++ and make your changes. To add a Spotify playlist reference, use this markdown syntax:
    [playlist name](Spotify URL of the playlist)
  9. Add your files to your staging area (track your changes):
    git add .
  10. Commit the files in the staging area:
    git commit -m "YOUR COMMIT MESSAGE"
  11. push the committed files to your repository (i.e. your forked version):
    git push -u origin <YOUR-BRANCH-NAME>
  12. Create a pull request. Select 'Pull Requests > Create Pull request'. Please ensure you compare your branch to the branch of the repository (i.e. mine) to which you want to make a pull request.
  13. Wait to see whether it is merged into the main branch!

About

Practice creating pull requests with a list of playlists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •