git-for-science icon indicating copy to clipboard operation
git-for-science copied to clipboard

Add username to directory of readers.

Open amyli21 opened this issue 5 months ago • 1 comments

The file I created is called ali527.txt. Thank you for the tutorial!

amyli21 avatar Aug 04 '25 18:08 amyli21

@amyli21 Thanks for reading the tutorial and submitting a Pull Request!

Your PR includes the files readers/ali527.txt and readers/amyli.txt. The goal is that every contributor names the files using their own username, which in your case would be amyli21.txt.

This is a great opportunity to practice updating a Pull Request after receiving feedback. This will often happen when you contribute to other projects. Running the code below from the git-for-science repository on your local machine will update the filename, commit the change, and then push the change back to GitHub.

# Rename one file, delete the other
git mv readers/amyli.txt readers/amyli21.txt
git rm readers/ali527.txt
# Commit the change
git commit -m "Change filename to username"
# Push the changes back to your fork. The PR will automatically update
git push origin master

Please do not hesitate to ask if you have any questions!

jdblischak avatar Aug 12 '25 16:08 jdblischak