Skip to content

adi-jft/git-basics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Assignment

Fork the repository at https://github.com/sajalguptajft/git-basics.

Add a file to the participants directory that describes you.

Use git add to add that file to the repository.

Use git commit to commit your change. Use a meaningful message like "Added information about YOUR NAME HERE."

Use git push to send your change to the primary repository.

Look online to see if your change has been pushed.

Wait until your partner has pushed their update. Then use git pull to get their change into your repository. Verify that you have the new file.

Use git log or git log | less to see a list of changes to the repository.

Edit the file participants.md to add your name. Then add the file, commit it, and push it.

Whoever tries to push the file first will likely succeed. Whoever tries to push the file second will likely get an error message. Figure out how to resolve the error message.

In the code directory, there is a program that lists the members of this class. Update participants.c so that it prints your name, too. (Follow the pattern of the file.) Make sure that your program works by typing make and then ./participants. Then, add the file, commit it, and push it.

Deal with any conflicts that have arisen and commit the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors