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

Add username to the directory of readers

Open MayuriJain15 opened this issue 1 year ago • 2 comments

MayuriJain15 avatar Feb 21 '24 01:02 MayuriJain15

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

The file you created is named username.txt. The goal is that every contributor names the files using their own username, which in your case would be MayuriJain15.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 the file
git mv readers/username.txt readers/MayuriJain15.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 Feb 21 '24 15:02 jdblischak

@MayuriJain15 did you try running the commands I shared above?

jdblischak avatar Mar 19 '24 15:03 jdblischak